mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 12:30:42 +02:00
a bunch of fixes
git-svn-id: file:///svn/phpbb/trunk@7884 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -365,14 +365,14 @@ function filelist($rootdir, $dir = '', $type = 'gif|jpg|jpeg|png')
|
||||
|
||||
if (!is_dir($rootdir . $dir))
|
||||
{
|
||||
return false;
|
||||
return $matches;
|
||||
}
|
||||
|
||||
$dh = @opendir($rootdir . $dir);
|
||||
|
||||
if (!$dh)
|
||||
{
|
||||
return false;
|
||||
return $matches;
|
||||
}
|
||||
|
||||
while (($fname = readdir($dh)) !== false)
|
||||
|
Reference in New Issue
Block a user