[php] fix to hide error report of session_start()

This commit is contained in:
nao-pon
2016-01-13 20:51:34 +09:00
parent 6f1592bc3e
commit aa26de63ec
2 changed files with 3 additions and 9 deletions
+1 -3
View File
@@ -218,9 +218,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
}
// error
// cache to $_SESSION
try {
$sessionStart = session_start();
} catch (Exception $e) {}
$sessionStart = @session_start();
if ($sessionStart) {
$_SESSION[elFinder::$sessionCacheKey][$this->id]['localFileSystemInotify_disable'] = true;
session_write_close();