backports murph-skeleton
This commit is contained in:
parent
a0a88ad9d7
commit
655f9c9690
|
@ -72,6 +72,7 @@ class FsFileManager
|
|||
|
||||
$finder = new Finder();
|
||||
$finder->directories()->depth('== 0')->in($this->path.'/'.$directory);
|
||||
|
||||
$this->applySort($finder, $options['sort'] ?? 'name', $options['sort_direction'] ?? 'asc');
|
||||
|
||||
foreach ($finder as $file) {
|
||||
|
|
Loading…
Reference in a new issue