cvs: phpweb /include shared-manual.inc
| From: | Gabor Hojtsy | Date: | Sun, 13 Jul 2003 19:46:05 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19301@lists.php.net to get a copy of this message | ||
goba Sun Jul 13 15:46:05 2003 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
Ups, BASE_FOR_MANPAGE does not start with /manual...
Fix my previous fix...
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.197 phpweb/include/shared-manual.inc:1.198
--- phpweb/include/shared-manual.inc:1.197 Sun Jul 13 09:25:26 2003
+++ phpweb/include/shared-manual.inc Sun Jul 13 15:46:05 2003
@@ -102,7 +102,7 @@
// Print out language switch on top of manual pages
if ($loc != 'bottom') {
$links = array();
- preg_match("!^/manual/(.+)/!", $BASE_FOR_MANPAGE, $langcode);
+ preg_match("!/manual/(.+)/!", $BASE_FOR_MANPAGE, $langcode);
$links[] = array("$langcode[1]/print/$id", "printer friendly");
$links[] = array("$langcode[1]/printwn/$id", "printer friendly
[+notes]");
// Disable all 'inactive' languages