diff options
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-x | phpBB/install/install_install.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 68bf1f9a84..7db99eb56a 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -1704,7 +1704,12 @@ class install_install extends module { $path = $phpbb_root_path . 'language/' . $file; - if (is_dir($path) && !is_link($path) && file_exists($path . '/iso.txt')) + if ($file == '.' || $file == '..' || is_link($path) || is_file($path) || $file == 'CVS') + { + continue; + } + + if (is_dir($path) && file_exists($path . '/iso.txt')) { $lang_file = file("{$phpbb_root_path}language/$path/iso.txt"); |