cvs: phpweb / docs.php
| From: | Hannes Magnusson | Date: | Fri, 11 Apr 2008 12:12:42 +0000 |
| Subject: | cvs: phpweb / docs.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-1521@lists.php.net to get a copy of this message | ||
bjori Fri Apr 11 12:12:42 2008 UTC
Modified files:
/phpweb docs.php
Log:
Use absolute path
http://cvs.php.net/viewvc.cgi/phpweb/docs.php?r1=1.142&r2=1.143&diff_format=u
Index: phpweb/docs.php
diff -u phpweb/docs.php:1.142 phpweb/docs.php:1.143
--- phpweb/docs.php:1.142 Fri Apr 11 12:06:18 2008
+++ phpweb/docs.php Fri Apr 11 12:12:42 2008
@@ -1,5 +1,5 @@
<?php
-// $Id: docs.php,v 1.142 2008/04/11 12:06:18 bjori Exp $
+// $Id: docs.php,v 1.143 2008/04/11 12:12:42 bjori Exp $
$_SERVER['BASE_PAGE'] = 'docs.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
@@ -45,7 +45,7 @@
$man_languages = array();
// Remove inactive online languages from the list to show
foreach ($ACTIVE_ONLINE_LANGUAGES as $code => $langname) {
- if (file_exists("manual/$code/index.php")) {
+ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "manual/$code/index.php")) {
$man_languages[] = $code;
}
}