src build elFinder-2.1-ccb96c7

This commit is contained in:
nao-pon
2016-04-11 11:29:52 +09:00
parent 3cbcfa3c69
commit 64cea3d651
8 changed files with 11 additions and 11 deletions
+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)) {