aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_language.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-04-03 10:47:07 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-04-03 10:47:07 +0200
commite3ebdbd79baa31b64ab724a76c2b80e907f3b367 (patch)
tree3c0df579f7942984e80a800c144da64c6a6522cc /phpBB/includes/acp/acp_language.php
parent3e5236dcd62f1d0b18cd3c92661a2287b5bbf2d6 (diff)
parent43774ef423d205250181c7413585ecd4d9ad6388 (diff)
downloadforums-e3ebdbd79baa31b64ab724a76c2b80e907f3b367.tar
forums-e3ebdbd79baa31b64ab724a76c2b80e907f3b367.tar.gz
forums-e3ebdbd79baa31b64ab724a76c2b80e907f3b367.tar.bz2
forums-e3ebdbd79baa31b64ab724a76c2b80e907f3b367.tar.xz
forums-e3ebdbd79baa31b64ab724a76c2b80e907f3b367.zip
Merge branch 'develop-olympus' into git-tools
Diffstat (limited to 'phpBB/includes/acp/acp_language.php')
-rw-r--r--phpBB/includes/acp/acp_language.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_language.php b/phpBB/includes/acp/acp_language.php
index fedae6fe67..c2cb2f9c11 100644
--- a/phpBB/includes/acp/acp_language.php
+++ b/phpBB/includes/acp/acp_language.php
@@ -1120,12 +1120,12 @@ class acp_language
{
while (($file = readdir($dp)) !== false)
{
- if (!is_dir($phpbb_root_path . 'language/' . $file))
+ if ($file[0] == '.' || !is_dir($phpbb_root_path . 'language/' . $file))
{
continue;
}
- if ($file[0] != '.' && file_exists("{$phpbb_root_path}language/$file/iso.txt"))
+ if (file_exists("{$phpbb_root_path}language/$file/iso.txt"))
{
if (!in_array($file, $installed))
{