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']) && $path !== $raw['path']) { |
678 |
|
$this->dirsCache[$path][] = $raw['path']; |
679 |
|
} |
680 |
|
} |
681 |
|
} |
682 |
|
} |
683 |
|
return $this->dirsCache[$path]; |
php/elFinderVolumeFTP.class.php 1 location
|
@@ 433-441 (lines=9) @@
|
430 |
|
$targets = array(); |
431 |
|
foreach($list as $stat) { |
432 |
|
$p = $prefix . $stat['name']; |
433 |
|
if (isset($stat['target'])) { |
434 |
|
// stat later |
435 |
|
$targets[$stat['name']] = $stat['target']; |
436 |
|
} else { |
437 |
|
$stat = $this->updateCache($p, $stat); |
438 |
|
if (empty($stat['hidden'])) { |
439 |
|
$this->dirsCache[$path][] = $p; |
440 |
|
} |
441 |
|
} |
442 |
|
} |
443 |
|
// stat link targets |
444 |
|
foreach($targets as $name => $target) { |