From 6204390af16bcf50f82da61a1aefc2ad0c0adf94 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 01 May 2006 10:47:27 -0400 Subject: [PATCH] Applied patch for requesting receipts by Salvatore Ansani --- program/steps/error.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/program/steps/error.inc b/program/steps/error.inc index efe3040..aa8036a 100644 --- a/program/steps/error.inc +++ b/program/steps/error.inc @@ -34,6 +34,7 @@ » Safari 1.2+<br /> <br /> » JavaScript enabled<br /> +» Support for XMLHTTPRequest<br /> <p><i>Your configuration:</i><br /> $user_agent</p> @@ -52,7 +53,7 @@ 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. -- Gitblit v1.9.1