summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
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 db6f157c4..c4db050d0 100644
--- a/error.php
+++ b/error.php
@@ -11,10 +11,10 @@ $errors = array(500 => "500 error: internal server error",
watchdog("httpd", $errors[$REDIRECT_STATUS]);
if (strstr($REDIRECT_URL, "index.php")) {
- header("Location: ../index.php");
+ drupal_goto("../index.php");
}
else {
- header("Location: index.php");
+ drupal_goto("index.php");
}
?> \ No newline at end of file