summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/pages/404.php')
-rw-r--r--frontend/pages/404.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/pages/404.php b/frontend/pages/404.php
index ffc3b79..fc614c5 100644
--- a/frontend/pages/404.php
+++ b/frontend/pages/404.php
@@ -3,8 +3,7 @@ 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.');
+function body_404(&$S) {
+ echo print_error('Page Not Found!','The page you are trying to reach, <i>'.$S['conf']['url'].'/'.$S['request'].'</i> does not exist.');
}
?>