diff options
Diffstat (limited to 'error.php')
-rw-r--r-- | error.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |