diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-04-14 18:15:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-04-14 18:15:11 +0000 |
commit | 2116f7a017e1dc6484b235045b2e4a6c9a6ea5c5 (patch) | |
tree | b294bc96ff5c4ebf095bc967f18aa3f48f593222 | |
parent | 2efb83ee57120f785caff8cccc0528bf69961c8d (diff) | |
download | brdo-2116f7a017e1dc6484b235045b2e4a6c9a6ea5c5.tar.gz brdo-2116f7a017e1dc6484b235045b2e4a6c9a6ea5c5.tar.bz2 |
- Changed error.php to use $base_url instead.
(Gary, would this close bug #1378?)
-rw-r--r-- | error.php | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -7,11 +7,6 @@ $errors = array(500 => "500 error: internal server error", 404 => "404 error: `$ watchdog("httpd", $errors[$REDIRECT_STATUS]); -if (strstr($REDIRECT_URL, "index.php")) { - drupal_goto("../index.php"); -} -else { - drupal_goto("index.php"); -} +drupal_goto($base_url); -?>
\ No newline at end of file +?> |