From a6379d2ee80392f31691d3d8cdf8558fd34f8348 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 30 Sep 2001 11:09:22 +0000 Subject: - replaced all 'header("Location: foo")'s by a call to 'drupal_goto()' which will append the session ID to the uri 'foo' when PHP is compiled with '--enable-transe-sid'. --- error.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'error.php') 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 -- cgit v1.2.3