mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 04:20:32 +02:00
A few more changes ... nearly there ... deleting users is going to be a little troublesome
git-svn-id: file:///svn/phpbb/trunk@4430 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -172,7 +172,7 @@ function filelist($rootdir, $dir = '', $type = 'gif|jpg|jpeg|png')
|
||||
$dir = ($dir && substr($dir, -1) != '/') ? $dir . '/' : $dir;
|
||||
|
||||
$dh = opendir($rootdir . $dir);
|
||||
while ($fname = readdir($dh))
|
||||
while (($fname = readdir($dh)) !== false)
|
||||
{
|
||||
if (is_file("$rootdir$dir$fname"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user