[php:VD] fix sync of subdirs cache on folder copy/move

This commit is contained in:
nao-pon
2016-11-09 10:16:20 +09:00
parent 7b8053a3ba
commit 5ebc135c5b
3 changed files with 11 additions and 1 deletions
+3
View File
@@ -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);
}