cvs: phpweb /error index.php
| From: | Gabor Hojtsy | Date: | Fri, 07 Jun 2002 13:31:10 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-10716@lists.php.net to get a copy of this message | ||
goba Fri Jun 7 09:31:10 2002 EDT
Modified files:
/phpweb/error index.php
Log:
Adding support for print directory index
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.60 phpweb/error/index.php:1.61
--- phpweb/error/index.php:1.60 Fri Jun 7 06:26:28 2002
+++ phpweb/error/index.php Fri Jun 7 09:31:09 2002
@@ -83,6 +83,10 @@
$PRINT_PAGE = TRUE;
include "../manual/$parts[1]/$parts[2]";
exit;
+} elseif (preg_match("!^manual/(\\w+)/print(/)?$!", $uri, $parts)) {
+ $PRINT_PAGE = TRUE;
+ include "../manual/$parts[1]/index.php";
+ exit;
}
// shortcuts for PHP and manual pages