commit this...

git-svn-id: file:///home/shish/svn/shimmie2/trunk@347 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-20 23:25:22 +00:00
parent 21c500027f
commit e4e4e5a04c

View File

@ -6,7 +6,7 @@ class Handle404 extends Extension {
$page = $event->page;
// hax.
if($page->mode == "page" && (!isset($page->blocks) || $this->count_main($page->blocks) == 0)) {
$h_pagename = html_escape($event->page);
$h_pagename = html_escape($event->page_name);
header("HTTP/1.0 404 Page Not Found");
$page->set_title("404");
$page->set_heading("404 - No Handler Found");