diff options
Diffstat (limited to 'bootstrap/Router.php')
-rw-r--r-- | bootstrap/Router.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/Router.php b/bootstrap/Router.php index 9673c36..34e278c 100644 --- a/bootstrap/Router.php +++ b/bootstrap/Router.php @@ -36,7 +36,7 @@ class Router return $this->routes[$requestType][$uri]; } // throw new Exception('No route defined for this URI: "'.$uri.'"'); - http_response_code(404); - die(require '../app/views/404.view.php'); + + die(http_response_code(404)); } } |