diff options
Diffstat (limited to 'phpBB/install/install.php')
| -rw-r--r-- | phpBB/install/install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php index eb02a0ec6b..bf8651f62f 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -184,7 +184,7 @@ if (!empty($_SERVER['HTTP_ACCEPT_LANGUAGE']) && !$language) if (!$language) { $dir = @opendir($phpbb_root_path . 'language'); - while ($file = readdir($dir)) + while (($file = readdir($dir)) !== false) { $path = $phpbb_root_path . 'language/' . $file; |
