cvs: phpweb /include manual-lookup.inc
| From: | Hojtsy Gabor | Date: | Fri, 27 Jul 2001 12:58:25 +0000 |
| Subject: | cvs: phpweb /include manual-lookup.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5744@lists.php.net to get a copy of this message | ||
goba Fri Jul 27 08:58:25 2001 EDT
Modified files:
/phpweb/include manual-lookup.inc
Log:
To be able to find without prefix (eg faq.php or pear.php, and many others)
Index: phpweb/include/manual-lookup.inc
diff -u phpweb/include/manual-lookup.inc:1.6 phpweb/include/manual-lookup.inc:1.7
--- phpweb/include/manual-lookup.inc:1.6 Sun Jul 8 07:30:23 2001
+++ phpweb/include/manual-lookup.inc Fri Jul 27 08:58:25 2001
@@ -32,7 +32,7 @@
}
function find_manual_page($lang, $function) {
- $sections = array("function.", "class.", "ref.",
"feature-", "construct.", "control-structures.");
+ $sections = array("", "function.", "class.", "ref.",
"feature-", "construct.", "control-structures.");
while (list($t,$section) = each($sections)) {
$try = tryprefix($lang, $function, $section);
if ($try) return $try;