mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 13:06:22 +05:30
Bugfix: 404 Header on 404-Page not send properly
This commit is contained in:
parent
fd7eb864ec
commit
0e26311034
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue