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