diff --git a/public/index.php b/public/index.php index 69523e99..e7713933 100644 --- a/public/index.php +++ b/public/index.php @@ -6,7 +6,7 @@ require_once '../misuzu.php'; $requestPath = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); if($requestPath !== '/' && $requestPath !== $_SERVER['PHP_SELF']) { - require_once MSZ_ROOT . '/public/not-found.php'; + echo render_error(404); return; } diff --git a/public/not-found.php b/public/not-found.php deleted file mode 100644 index 28e25a85..00000000 --- a/public/not-found.php +++ /dev/null @@ -1,6 +0,0 @@ -