cvs: phpweb /include manual-lookup.inc
| From: | Hojtsy Gabor | Date: | Fri, 27 Jul 2001 13:02:54 +0000 |
| Subject: | cvs: phpweb /include manual-lookup.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5745@lists.php.net to get a copy of this message | ||
goba Fri Jul 27 09:02:54 2001 EDT
Modified files:
/phpweb/include manual-lookup.inc
Log:
Give ref a priority to get more general pages, instead
of subsidiary ones (eg. PEAR)
Index: phpweb/include/manual-lookup.inc
diff -u phpweb/include/manual-lookup.inc:1.7 phpweb/include/manual-lookup.inc:1.8
--- phpweb/include/manual-lookup.inc:1.7 Fri Jul 27 08:58:25 2001
+++ phpweb/include/manual-lookup.inc Fri Jul 27 09:02:53 2001
@@ -32,7 +32,7 @@
}
function find_manual_page($lang, $function) {
- $sections = array("", "function.", "class.", "ref.",
"feature-", "construct.", "control-structures.");
+ $sections = array("", "ref.", "function.", "class.",
"feature-", "construct.", "control-structures.");
while (list($t,$section) = each($sections)) {
$try = tryprefix($lang, $function, $section);
if ($try) return $try;