diff options
Diffstat (limited to 'web/html/index.php')
-rw-r--r-- | web/html/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/html/index.php b/web/html/index.php index 6ee23bc..422c0e5 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -102,5 +102,9 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { header("Content-Type: image/png"); include "./$path"; break; + default: + header("HTTP/1.0 404 Not Found"); + include "./404.php"; + break; } } |