cvs: phpweb /error index.php
| From: | Jim Winstead | Date: | Mon, 27 Aug 2001 23:28:47 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6148@lists.php.net to get a copy of this message | ||
jimw Mon Aug 27 19:28:47 2001 EDT
Modified files:
/phpweb/error index.php
Log:
ignore leading / from uri
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.28 phpweb/error/index.php:1.29
--- phpweb/error/index.php:1.28 Fri Aug 24 14:52:47 2001
+++ phpweb/error/index.php Mon Aug 27 19:28:47 2001
@@ -61,6 +61,7 @@
$uri=substr($REDIRECT_REDIRECT_ERROR_NOTES,strpos($REDIRECT_REDIRECT_ERROR_NOTES,$DOCUMENT_ROOT)+strlen($DOCUMENT_ROOT)+1);
+if ($uri[0] == "/") $uri = substr($uri,1);
# try to find the uri as a manual entry