Created custom 404 error handling
This commit is contained in:
1 parent
f2ca6af5bc
commit
85e434dd83
3 files changed
+28
-7
No files matched your search
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
$app->notFound(function() use ($app) {
|
||||
$app->render('errors/404.twig');
|
||||
});
|
||||
Reference in new issue
Block a user