summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-04-14 18:15:11 +0000
committerDries Buytaert <dries@buytaert.net>2003-04-14 18:15:11 +0000
commit2116f7a017e1dc6484b235045b2e4a6c9a6ea5c5 (patch)
treeb294bc96ff5c4ebf095bc967f18aa3f48f593222
parent2efb83ee57120f785caff8cccc0528bf69961c8d (diff)
downloadbrdo-2116f7a017e1dc6484b235045b2e4a6c9a6ea5c5.tar.gz
brdo-2116f7a017e1dc6484b235045b2e4a6c9a6ea5c5.tar.bz2
- Changed error.php to use $base_url instead.
(Gary, would this close bug #1378?)
-rw-r--r--error.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/error.php b/error.php
index 55f7aef80..acafb499d 100644
--- a/error.php
+++ b/error.php
@@ -7,11 +7,6 @@ $errors = array(500 => "500 error: internal server error", 404 => "404 error: `$
watchdog("httpd", $errors[$REDIRECT_STATUS]);
-if (strstr($REDIRECT_URL, "index.php")) {
- drupal_goto("../index.php");
-}
-else {
- drupal_goto("index.php");
-}
+drupal_goto($base_url);
-?> \ No newline at end of file
+?>