aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-03-28 16:46:49 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-03-28 16:46:49 +0000
commitfe9590cf5a3946260d61748cfc2ac0e13f10c23b (patch)
tree24ddbbf66a22fbd200cb0626ef8ee45d55ce14f9 /phpBB/install/index.php
parent20e6dbb389b0eef201d192367d54ce3deac03c50 (diff)
downloadforums-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-xphpBB/install/index.php4
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))
{