diff options
Diffstat (limited to 'phpBB/includes/functions.php')
| -rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 898058e770..0730f7c430 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -744,7 +744,7 @@ function language_select($default, $select_name = "language", $dirname="language $lang_select = "<select name=\"$select_name\">"; while($file = readdir($dir)) { - if( ereg("^lang_", $file) && !is_file($dirname . $file) && !is_link($dirname . $file) ) + if( ereg("^lang_", $file) && !is_file($dirname . "/" . $file) && !is_link($dirname . "/" . $file) ) { $filename = str_replace("lang_", "", $file); |
