diff options
author | David M <davidmj@users.sourceforge.net> | 2006-03-28 16:46:49 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-03-28 16:46:49 +0000 |
commit | fe9590cf5a3946260d61748cfc2ac0e13f10c23b (patch) | |
tree | 24ddbbf66a22fbd200cb0626ef8ee45d55ce14f9 /phpBB/install/index.php | |
parent | 20e6dbb389b0eef201d192367d54ce3deac03c50 (diff) | |
download | forums-fe9590cf5a3946260d61748cfc2ac0e13f10c23b.tar forums-fe9590cf5a3946260d61748cfc2ac0e13f10c23b.tar.gz forums-fe9590cf5a3946260d61748cfc2ac0e13f10c23b.tar.bz2 forums-fe9590cf5a3946260d61748cfc2ac0e13f10c23b.tar.xz forums-fe9590cf5a3946260d61748cfc2ac0e13f10c23b.zip |
- Bug 1301
git-svn-id: file:///svn/phpbb/trunk@5743 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/index.php')
-rwxr-xr-x | phpBB/install/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 421631b149..409b7e2e6b 100755 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -103,7 +103,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; @@ -168,7 +168,7 @@ class module $dir = @opendir('.'); $setmodules = 1; - while ($file = readdir($dir)) + while (($file = readdir($dir)) !== false) { if (preg_match('#^install_(.*?)\.' . $phpEx . '$#', $file)) { |