diff options
author | David M <davidmj@users.sourceforge.net> | 2006-03-01 00:02:31 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-03-01 00:02:31 +0000 |
commit | cbfe138cdc505511f0f91288afe8da548b93c3bd (patch) | |
tree | f4554b26fc7e604c4b762798f16e5ad6362a33fe /phpBB/includes/acp/acp_board.php | |
parent | 0e8e0b65046b182a2ece142167cdbb12104ccb11 (diff) | |
download | forums-cbfe138cdc505511f0f91288afe8da548b93c3bd.tar forums-cbfe138cdc505511f0f91288afe8da548b93c3bd.tar.gz forums-cbfe138cdc505511f0f91288afe8da548b93c3bd.tar.bz2 forums-cbfe138cdc505511f0f91288afe8da548b93c3bd.tar.xz forums-cbfe138cdc505511f0f91288afe8da548b93c3bd.zip |
- Proper iteration of files
git-svn-id: file:///svn/phpbb/trunk@5594 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_board.php')
-rw-r--r-- | phpBB/includes/acp/acp_board.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index 7586da5a2d..c65647bc48 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -307,7 +307,7 @@ class acp_board $auth_plugins = array(); $dp = opendir($phpbb_root_path . 'includes/auth'); - while ($file = readdir($dp)) + while (($file = readdir($dp)) !== false) { if (preg_match('#^auth_(.*?)\.' . $phpEx . '$#', $file)) { @@ -438,7 +438,7 @@ class acp_board $auth_plugins = array(); $dp = opendir($phpbb_root_path . 'includes/auth'); - while ($file = readdir($dp)) + while (($file = readdir($dp)) !== false) { if (preg_match('#^auth_(.*?)\.' . $phpEx . '$#', $file)) { @@ -575,7 +575,7 @@ class acp_board $search_plugins = array(); $dp = opendir($phpbb_root_path . 'includes/search'); - while ($file = readdir($dp)) + while (($file = readdir($dp)) !== false) { if ((preg_match('#\.' . $phpEx . '$#', $file)) && ($file != "search.$phpEx")) { |