cvs: phpweb /error index.php
| From: | Jim Winstead | Date: | Fri, 12 Jan 2001 21:40:12 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3381@lists.php.net to get a copy of this message | ||
jimw Fri Jan 12 13:40:12 2001 EDT
Modified files:
/phpweb/error index.php
Log:
handle html version of manual, too
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.10 phpweb/error/index.php:1.11
--- phpweb/error/index.php:1.10 Fri Jan 12 13:11:07 2001
+++ phpweb/error/index.php Fri Jan 12 13:40:11 2001
@@ -21,7 +21,7 @@
}
# handle moving english manual down into its own directory
-if (eregi("^(.*)/manual/([^/]+.php3?)", $REQUEST_URI, $array)) {
+if (eregi("^(.*)/manual/((html/)?[^/]+)$", $REQUEST_URI, $array)) {
if($SERVER_PORT!=80) {
$url = "http://".$SERVER_NAME.":".$SERVER_PORT."$array[1]/manual/$lang/".$array[2];
} else {