From b40a524d2514751c248e4d1f7602fdb00ad19908 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Wed, 17 Apr 2019 09:12:34 -0400 Subject: bootstrap/Router: We die with 404 --- bootstrap/Router.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/Router.php b/bootstrap/Router.php index 34e278c..c8f51e3 100644 --- a/bootstrap/Router.php +++ b/bootstrap/Router.php @@ -35,8 +35,6 @@ class Router if (is_array($this->routes[$requestType]) && array_key_exists($uri, $this->routes[$requestType])) { return $this->routes[$requestType][$uri]; } - // throw new Exception('No route defined for this URI: "'.$uri.'"'); - die(http_response_code(404)); } } -- cgit v1.2.3