Skip to content

Commit

Permalink
Update 404 response (#163)
Browse files Browse the repository at this point in the history
Updating for new SPL standard.
  • Loading branch information
anyeor authored and slawkens committed Jun 5, 2021
1 parent 454e09e commit d9526d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -48,7 +48,7 @@
}

if(preg_match("/^(.*)\.(gif|jpg|png|jpeg|tiff|bmp|css|js|less|map|html|php|zip|rar|gz|ttf|woff|ico)$/i", $_SERVER['REQUEST_URI'])) {
header('HTTP/1.0 404 Not Found');
http_response_code(404);
exit;
}

Expand Down

0 comments on commit d9526d4

Please sign in to comment.