cvs: phpweb / source.php
| From: | Gabor Hojtsy | Date: | Fri, 08 Aug 2003 13:35:26 +0000 |
| Subject: | cvs: phpweb / source.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19997@lists.php.net to get a copy of this message | ||
goba Fri Aug 8 09:35:26 2003 EDT
Modified files:
/phpweb source.php
Log:
The manual path does not need to end in /manual/ :)
Index: phpweb/source.php
diff -u phpweb/source.php:1.18 phpweb/source.php:1.19
--- phpweb/source.php:1.18 Sun Aug 3 13:27:15 2003
+++ phpweb/source.php Fri Aug 8 09:35:25 2003
@@ -1,5 +1,5 @@
<?php
-// $Id: source.php,v 1.18 2003/08/03 17:27:15 goba Exp $
+// $Id: source.php,v 1.19 2003/08/08 13:35:25 goba Exp $
$_SERVER['BASE_PAGE'] = 'source.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
@@ -61,7 +61,7 @@
"/error" => 1,
"/license" => 1
);
- if (preg_match("!^/manual/$!", $dir) || isset($legal_dirs[$dir])) {
+ if (preg_match("!^/manual/!", $dir) || isset($legal_dirs[$dir])) {
$page_name = $_SERVER['DOCUMENT_ROOT'] . $_GET['url'];
} else { $page_name = FALSE; }
} else {