diff --git a/pages/error.php b/pages/error.php index 2ec5aae..fb858e7 100644 --- a/pages/error.php +++ b/pages/error.php @@ -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(); ?> \ No newline at end of file