summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-28 07:03:47 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-28 07:03:47 +0000
commit3f2b0e0b3f0322dac929bb997a331cb7c021f295 (patch)
tree01940cabb5f1b50c16822e8585092ab9cee543ce /error.php
parent6bb49b4bb8d7c73e1cce62e27375559b9837b898 (diff)
downloadbrdo-3f2b0e0b3f0322dac929bb997a331cb7c021f295.tar.gz
brdo-3f2b0e0b3f0322dac929bb997a331cb7c021f295.tar.bz2
Flushing my backlog (in case Natrak wants to make more changes):
- tidied up some of the code - fixed a small problems
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 11a61dfa2..f4ffc1f52 100644
--- a/error.php
+++ b/error.php
@@ -7,7 +7,7 @@ function error_flood() {
}
function error_httpd() {
- global $REDIRECT_STATUS, $REDIRECT_URL, $HTTP_REFERER, $HTTP_USER_AGENT, $site_url;
+ global $REDIRECT_STATUS, $REDIRECT_URL, $HTTP_REFERER, $HTTP_USER_AGENT;
switch($REDIRECT_STATUS) {
case 500:
@@ -35,7 +35,7 @@ function error_httpd() {
print "<H1>Oops, an error occured!</H1>\n";
print "<B>Processed output:</B><BR>\n";
print " * $message<BR>\n";
- print " * Return to the <A HREF=\"$site_url\">main page</A>.\n";
+ print " * Return to the <A HREF=\"index.php\">main page</A>.\n";
print "</PRE>\n";
}