cvs: phpweb /error index.php
| From: | Gabor Hojtsy | Date: | Sun, 03 Feb 2002 12:41:40 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-8467@lists.php.net to get a copy of this message | ||
goba Sun Feb 3 07:41:40 2002 EDT
Modified files:
/phpweb/error index.php
Log:
Exit, if we found the right redirect page. This makes this code work ;)
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.35 phpweb/error/index.php:1.36
--- phpweb/error/index.php:1.35 Sun Feb 3 06:28:09 2002
+++ phpweb/error/index.php Sun Feb 3 07:41:39 2002
@@ -65,6 +65,7 @@
# handle common page shortcuts, like docs, links, support, etc.
if (file_exists("$DOCUMENT_ROOT/$uri.php")) {
header("Location: http://$SERVER_NAME/$uri.php");
+ exit;
}
# try to find the uri as a manual entry