git.shiar.nl
/
minimedit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
page: return 500 status and page on php exceptions
[minimedit.git]
/
404.php
1
<?php
2
http_response_code(404);
3
$request = htmlspecialchars($_SERVER['REQUEST_URI']);
4
echo "<h2>Pagina niet gevonden</h2>\n\n";
5
echo "<p>De gevraagde pagina <em>$request</em> bestaat niet.</p>\n\n";