Created custom 404 error handling
This commit is contained in:
5
app/routes/errors/404.php
Normal file
5
app/routes/errors/404.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
$app->notFound(function() use ($app) {
|
||||
$app->render('errors/404.twig');
|
||||
});
|
Reference in New Issue
Block a user