summaryrefslogtreecommitdiff
path: root/program/steps/error.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/error.inc')
-rw-r--r--program/steps/error.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/error.inc b/program/steps/error.inc
index efe30407e..9e5757d7b 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -52,7 +52,7 @@ else if ($ERROR_CODE==401)
else if ($ERROR_CODE==404)
{
$__error_title = "REQUEST FAILED/FILE NOT FOUND";
- $request_url = $GLOBALS['HTTP_HOST'].$GLOBALS['REQUEST_URI'];
+ $request_url = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$__error_text = <<<EOF
The requested page was not found!<br />
Please contact your server-administrator.