mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-15 18:23:26 +03:00
Bugfixes
This commit is contained in:
@@ -138,6 +138,8 @@ class CustomExceptionHandler implements IExceptionHandler {
|
||||
// Throw your custom 404-page view
|
||||
// - or -
|
||||
// load another route with our 404 page
|
||||
// - or -
|
||||
// you can return the $request object to ignore the error and continue on rendering the route.
|
||||
|
||||
return $request->setUri(url('page.notfound'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user