cvs: phpweb /error index.php
| From: | Gabor Hojtsy | Date: | Wed, 10 Jul 2002 17:50:06 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11264@lists.php.net to get a copy of this message | ||
goba Wed Jul 10 13:50:06 2002 EDT
Modified files:
/phpweb/error index.php
Log:
Final fix for bug #18623
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.68 phpweb/error/index.php:1.69
--- phpweb/error/index.php:1.68 Tue Jul 9 04:33:06 2002
+++ phpweb/error/index.php Wed Jul 10 13:50:06 2002
@@ -87,7 +87,7 @@
}
// BC: for old HTML directory (.html extension was used in that)
-elseif (preg_match("!^manual/(\\w+)/html/(.+)\\.html$!", $uri, $parts)) {
+elseif (preg_match("!^manual/(\\w+)/html/(.+)\\.(html|php)$!", $uri, $parts)) {
$PRINT_PAGE = TRUE;
include "../manual/$parts[1]/$parts[2].php";
exit;