mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[php:VD] fix sync of subdirs cache on folder copy/move
This commit is contained in:
@@ -4199,6 +4199,9 @@ abstract class elFinderVolumeDriver {
|
||||
|
||||
if ($res = $this->convEncOut($this->_move($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) {
|
||||
$this->removed[] = $stat;
|
||||
if (isset($this->sessionCache['subdirs']) && $stat['mime'] === 'directory') {
|
||||
$this->sessionCache['subdirs'][$dst] = true;
|
||||
}
|
||||
return is_string($res)? $res : $this->joinPathCE($dst, $name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user