src build elFinder-2.1-3dcc173

This commit is contained in:
nao-pon
2016-01-11 22:06:50 +09:00
parent 5d359d4763
commit c8c6f78589
12 changed files with 103 additions and 51 deletions
+3 -7
View File
@@ -218,16 +218,12 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
}
// error
// cache to $_SESSION
$sessionClose = true;;
try {
$sessionStart = session_start();
} catch (Exception $e) {
$sessionClose = false;
}
} catch (Exception $e) {}
if ($sessionStart) {
$this->sessionCache = &$_SESSION[elFinder::$sessionCacheKey][$this->id];
$this->sessionCache['localFileSystemInotify_disable'] = true;
$sessionClose && session_write_close();
$_SESSION[elFinder::$sessionCacheKey][$this->id]['localFileSystemInotify_disable'] = true;
session_write_close();
}
return false;