summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-09-30 11:09:22 +0000
committerDries Buytaert <dries@buytaert.net>2001-09-30 11:09:22 +0000
commita6379d2ee80392f31691d3d8cdf8558fd34f8348 (patch)
tree643a51f40946e418ad51575c56d51a372aa1fe9f /error.php
parent8caf16cde4cebcea3534e9ff3803bef2092374b2 (diff)
downloadbrdo-a6379d2ee80392f31691d3d8cdf8558fd34f8348.tar.gz
brdo-a6379d2ee80392f31691d3d8cdf8558fd34f8348.tar.bz2
- 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'.
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