From 3585dbd42c114a63d585e68e14f52f2a2918632a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 14 Jul 2007 15:44:10 +0000 Subject: a bunch of fixes git-svn-id: file:///svn/phpbb/trunk@7884 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'phpBB/install/install_install.php') 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"); -- cgit v1.2.1