diff options
Diffstat (limited to 'error.php')
-rw-r--r-- | error.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,9 +3,9 @@ include_once "includes/common.inc"; -$errors = array(500 => "500 error: internal server error", 404 => "404 error: `$REDIRECT_URL' not found", 403 => "403 error: access denied - forbidden", 401 => "401 error: authorization required", 400 => "400 error: bad request"); +$errors = array(500 => "500 error: internal server error", 404 => "404 error: '".`$_SERVER["REDIRECT_URL"] ."' not found", 403 => "403 error: access denied - forbidden", 401 => "401 error: authorization required", 400 => "400 error: bad request"); -watchdog("httpd", $errors[$REDIRECT_STATUS]); +watchdog("httpd", $errors[$_SERVER["REDIRECT_STATUS"]); drupal_goto($base_url); |