1
0
Fork 0

Just set status code, do not hardcode HTTP version

master
Anonymous Contributor 2023-08-23 18:16:34 +02:00
parent 16ee118c98
commit b6eff53f0c
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@
$HTML->setHTMLTitle("Seite nicht gefunden");
$HTML->build();
header("HTTP/1.0 404 Not Found");
http_response_code(404);
echo $HTML->ausgabe();
?>