summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+?>