function fast_404_error_return in Fast 404 6
Same name and namespace in other branches
- 7 fast_404.inc \fast_404_error_return()
2 calls to fast_404_error_return()
File
- ./
fast_404.inc, line 208
Code
function fast_404_error_return() {
header('HTTP/1.0 404 Not Found');
$fast_404_html = variable_get('fast_404_html', '<html xmlns="http://www.w3.org/1999/xhtml"><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>');
print strtr($fast_404_html, array(
'@path' => check_plain(request_uri()),
));
exit;
}