mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSyste] fix #1292 enbug @329593b46d5f36693236d349b06b55bd927b59c1
This commit is contained in:
@@ -467,7 +467,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
$stat = array_merge($stat, $this->getOwnerStat($uid, $gid));
|
||||
}
|
||||
|
||||
if ($dir = is_dir($path) && $this->options['detectDirIcon']) {
|
||||
if (($dir = is_dir($path)) && $this->options['detectDirIcon']) {
|
||||
$favicon = $path . DIRECTORY_SEPARATOR . $this->options['detectDirIcon'];
|
||||
if ($this->URL && file_exists($favicon)) {
|
||||
$stat['icon'] = $this->URL . str_replace(DIRECTORY_SEPARATOR, '/', substr($favicon, strlen($this->root) + 1));
|
||||
|
||||
Reference in New Issue
Block a user