Bug 3797 output 404 error page with a 404 header

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Chris Cormack 2009-11-20 14:32:22 +13:00 committed by Galen Charlton
parent 88681d9862
commit 434ab8162f

View file

@ -36,4 +36,4 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
}
);
$template->param( admin => $admin );
output_html_with_http_headers $query, $cookie, $template->output;
output_html_with_http_headers $query, $cookie, $template->output, '404 Not Found';