From 0e2631103421d88690bcfd3b0f337d55781b231a Mon Sep 17 00:00:00 2001 From: Kanti Date: Mon, 29 Sep 2014 11:07:34 +0200 Subject: [PATCH] Bugfix: 404 Header on 404-Page not send properly --- system/includes/functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index eda19a7..f0f8157 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1192,7 +1192,9 @@ EOF; // The not found error function not_found() { - error(404, render('404', null, false)); + header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); + render('404', null, false); + die(); } // Turn an array of posts into an RSS feed