php/elFinderVolumeDriver.class.php 1 location
|
@@ 3025-3030 (lines=6) @@
|
| 3022 |
|
$this->subdirsCache[$path] = false; |
| 3023 |
|
|
| 3024 |
|
foreach ($this->scandirCE($path) as $p) { |
| 3025 |
|
if (($stat = $this->stat($p)) && empty($stat['hidden'])) { |
| 3026 |
|
if ($stat['mime'] === 'directory') { |
| 3027 |
|
$this->subdirsCache[$path] = true; |
| 3028 |
|
} |
| 3029 |
|
$this->dirsCache[$path][] = $p; |
| 3030 |
|
} |
| 3031 |
|
} |
| 3032 |
|
} |
| 3033 |
|
|
php/elFinderVolumeDropbox.class.php 1 location
|
@@ 675-680 (lines=6) @@
|
| 672 |
|
if ($res) { |
| 673 |
|
foreach($res as $raw) { |
| 674 |
|
$raw = unserialize($raw); |
| 675 |
|
if ($stat = $this->parseRaw($raw)) { |
| 676 |
|
$stat = $this->updateCache($raw['path'], $stat); |
| 677 |
|
if (empty($stat['hidden'])) { |
| 678 |
|
$this->dirsCache[$path][] = $raw['path']; |
| 679 |
|
} |
| 680 |
|
} |
| 681 |
|
} |
| 682 |
|
} |
| 683 |
|
return $this->dirsCache[$path]; |