cvs: phpweb /error index.php
| From: | Gabor Hojtsy | Date: | Sat, 25 Jan 2003 19:23:08 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-15316@lists.php.net to get a copy of this message | ||
goba Sat Jan 25 14:23:08 2003 EDT
Modified files:
/phpweb/error index.php
Log:
Argh.... I disabled default languages for shortcuts on sites a while ago.
How nobody filed a bug report about it? Nobody uses shortcuts with the
site language default on the mirrors? Is that possible?
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.101 phpweb/error/index.php:1.102
--- phpweb/error/index.php:1.101 Sat Jan 11 07:22:35 2003
+++ phpweb/error/index.php Sat Jan 25 14:23:07 2003
@@ -5,7 +5,7 @@
// ============================================================================
// Check for a manual in the mirror's default language
$lang = default_language();
-if (!@is_dir("$DOCUMENT_ROOT/manual/$lang/index.php")) {
+if (!@file_exists("$DOCUMENT_ROOT/manual/$lang/index.php")) {
$lang = "en"; // fall back to English
}