summaryrefslogtreecommitdiff
blob: ffc3b7955d6d2c883d13cf9fbe98f69759a8a7de (plain)
1
2
3
4
5
6
7
8
9
10
<?php
function init_404() {
	header('HTTP/1.0 404 Not Found', true, 404);
	return array('title' => '404: Not Found');
}
function body_404() {
	global $S, $conf;
	echo print_error('Page Not Found!','The page you are trying to reach, <i>'.$conf['url'].'/'.$S['request'].'</i> does not exist.');
}
?>