mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:abstract,Dropbox,MySQL] fix mime type search logic
This commit is contained in:
@@ -659,7 +659,7 @@ class elFinderVolumeDropbox extends elFinderVolumeDriver {
|
||||
if (!isset($this->cache[$raw['path']])) {
|
||||
$stat = $this->updateCache($raw['path'], $stat);
|
||||
}
|
||||
if ($stat['mime'] !== 'directory' || $this->mimeAccepted($stat['mime'], array_merge($mimes, $this->onlyMimes))) {
|
||||
if (empty($stat['hidden']) && $this->mimeAccepted($stat['mime'], $mimes)) {
|
||||
$result[] = $this->stat($raw['path']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user