[VD] fix problem of session cache writting

This commit is contained in:
nao-pon
2016-01-13 21:26:07 +09:00
parent aa26de63ec
commit d4db0bcb20
2 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -218,9 +218,9 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
}
// error
// cache to $_SESSION
$sessionStart = @session_start();
$sessionStart = $this->sessionRestart();
if ($sessionStart) {
$_SESSION[elFinder::$sessionCacheKey][$this->id]['localFileSystemInotify_disable'] = true;
$this->sessionCache['localFileSystemInotify_disable'] = true;
session_write_close();
}