1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 23:41:29 +02:00

- Bug 1301

git-svn-id: file:///svn/phpbb/trunk@5743 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2006-03-28 16:46:49 +00:00
parent 20e6dbb389
commit fe9590cf5a
10 changed files with 16 additions and 16 deletions

View File

@@ -864,7 +864,7 @@ class acp_attachments
$attach_filelist = array();
$dir = @opendir($phpbb_root_path . $config['upload_path']);
while ($file = @readdir($dir))
while (($file = @readdir($dir)) !== false)
{
if (is_file($phpbb_root_path . $config['upload_path'] . '/' . $file) && filesize($phpbb_root_path . $config['upload_path'] . '/' . $file) && $file{0} != '.' && $file != 'index.htm' && !preg_match('#^thumb\_#', $file))
{