diff --git a/public_html/rewrite.php b/public_html/rewrite.php index 5ed4d8a..2679ae9 100644 --- a/public_html/rewrite.php +++ b/public_html/rewrite.php @@ -37,4 +37,12 @@ $router->routes = array( ) ); -$router->RouteRequest(); +try +{ + $router->RouteRequest(); +} +catch (RouterException $e) +{ + http_status_code(404); + die("404 Not Found. Click here to continue to todo.cryto.net, the todo list for overworked hackers (and everyone else)."); +}