[VD:LocalFlieSystem] fix #1318 enbug@329593b46d5f36693236d349b06b55bd927b59c1

This commit is contained in:
nao-pon
2016-04-11 10:07:54 +09:00
parent a4f52169b0
commit 2a2e441fc9
+1 -1
View File
@@ -673,7 +673,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$stat['mime'] = $dir ? 'directory' : $this->mimetype($stat['alias']);
}
} else {
if ($dir = $file->isDir() && $this->options['detectDirIcon']) {
if (($dir = $file->isDir()) && $this->options['detectDirIcon']) {
$path = $file->getPathname();
$favicon = $path . DIRECTORY_SEPARATOR . $this->options['detectDirIcon'];
if ($this->URL && file_exists($favicon)) {