- in function findDirs() just skip if a directory cannot be read instead of returning the list till this dir, fixes #611

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2011-02-25 08:00:06 +01:00
parent ff4b03f4fa
commit c6afcc57d9

View File

@@ -48,7 +48,9 @@ function findDirs($path, $uid, $gid)
if(!is_readable($path))
{
return $_fileList;
//return $_fileList;
// only 'skip' this directory, #611
continue;
}
$dh = opendir($path);