summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-13 18:36:38 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-13 18:36:38 +0000
commitc2d2fb73095a32394dd95e72421aec49fa2cd6f6 (patch)
tree5d2d92a31480405b8c10c3b85927049238528242 /error.php
parent13ffd8956826fec3cd9978edf73ef67d9eb8d46e (diff)
downloadbrdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.gz
brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.bz2
- Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.
- Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
Diffstat (limited to 'error.php')
-rw-r--r--error.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.php b/error.php
index acafb499d..0a939ea6a 100644
--- a/error.php
+++ b/error.php
@@ -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);