Use isIgnoredDir()
This commit is contained in:
parent
2f11f56d32
commit
70b4f85911
|
@ -24,7 +24,7 @@ if ($dir) {
|
|||
$dirContent = $view->opendir($dir);
|
||||
$i = 0;
|
||||
while($entryName = readdir($dirContent)) {
|
||||
if ( $entryName !== '.' && $entryName !== '..' ) {
|
||||
if (!\OC\Files\Filesystem::isIgnoredDir($entryName)) {
|
||||
$pos = strpos($dir.'/', '/', 1);
|
||||
$tmp = substr($dir, 0, $pos);
|
||||
$pos = strrpos($tmp, '.d');
|
||||
|
|
Loading…
Reference in New Issue