aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-04-17 09:12:34 -0400
committerThedro Neely <thedroneely@gmail.com>2019-04-17 09:12:34 -0400
commitb40a524d2514751c248e4d1f7602fdb00ad19908 (patch)
treef6c33cf10d8cac5e2f8cf2f54aab5ea50c31e4a7 /bootstrap
parente939384c59001d5f3ec22a9819fae2a637a7eb7c (diff)
downloadthedroneely.com-b40a524d2514751c248e4d1f7602fdb00ad19908.tar.gz
thedroneely.com-b40a524d2514751c248e4d1f7602fdb00ad19908.tar.bz2
thedroneely.com-b40a524d2514751c248e4d1f7602fdb00ad19908.zip
bootstrap/Router: We die with 404
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/Router.php2
1 files changed, 0 insertions, 2 deletions
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));
}
}