php/elFinderVolumeDropbox.class.php 1 location
|
@@ 639-644 (lines=6) @@
|
| 636 |
|
if ($res) { |
| 637 |
|
foreach($res as $raw) { |
| 638 |
|
$raw = unserialize($raw); |
| 639 |
|
if ($stat = $this->parseRaw($raw)) { |
| 640 |
|
$stat = $this->updateCache($raw['path'], $stat); |
| 641 |
|
if (empty($stat['hidden'])) { |
| 642 |
|
$this->dirsCache[$path][] = $raw['path']; |
| 643 |
|
} |
| 644 |
|
} |
| 645 |
|
} |
| 646 |
|
} |
| 647 |
|
return $this->dirsCache[$path]; |
php/elFinderVolumeDriver.class.php 1 location
|
@@ 2980-2985 (lines=6) @@
|
| 2977 |
|
$this->subdirsCache[$path] = false; |
| 2978 |
|
|
| 2979 |
|
foreach ($this->scandirCE($path) as $p) { |
| 2980 |
|
if (($stat = $this->stat($p)) && empty($stat['hidden'])) { |
| 2981 |
|
if ($stat['mime'] === 'directory') { |
| 2982 |
|
$this->subdirsCache[$path] = true; |
| 2983 |
|
} |
| 2984 |
|
$this->dirsCache[$path][] = $p; |
| 2985 |
|
} |
| 2986 |
|
} |
| 2987 |
|
} |
| 2988 |
|
|