mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 05:20:56 +02:00
- added acp_language (language pack management)
- minor adjustments to cope with PHP5.x git-svn-id: file:///svn/phpbb/trunk@5315 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -300,6 +300,11 @@ function filelist($rootdir, $dir = '', $type = 'gif|jpg|jpeg|png')
|
||||
// Add closing / if present
|
||||
$dir = ($dir && substr($dir, -1) != '/') ? $dir . '/' : $dir;
|
||||
|
||||
if (!is_dir($rootdir . $dir))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$dh = opendir($rootdir . $dir);
|
||||
while (($fname = readdir($dh)) !== false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user