diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-09-30 11:09:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-09-30 11:09:22 +0000 |
commit | a6379d2ee80392f31691d3d8cdf8558fd34f8348 (patch) | |
tree | 643a51f40946e418ad51575c56d51a372aa1fe9f /error.php | |
parent | 8caf16cde4cebcea3534e9ff3803bef2092374b2 (diff) | |
download | brdo-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.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 |