src build elFinder-2.1-16ecb35

This commit is contained in:
nao-pon
2016-01-14 23:06:35 +09:00
parent f283fb73c6
commit 5b01aa2fd0
7 changed files with 32 additions and 9 deletions
+2 -2
View File
@@ -206,7 +206,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$inotifywait = defined('ELFINER_INOTIFYWAIT_PATH')? ELFINER_INOTIFYWAIT_PATH : 'inotifywait';
$path = escapeshellarg($path);
$standby = max(1, intval($standby));
$cmd = $inotifywait.' '.$path.' -t '.$standby.' -e moved_to,moved_from,move,create,delete,delete_self';
$cmd = $inotifywait.' '.$path.' -t '.$standby.' -e moved_to,moved_from,move,close_write,delete,delete_self';
$this->procExec($cmd , $o, $r);
if ($r === 0) {
// changed
@@ -221,7 +221,7 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
$sessionStart = $this->sessionRestart();
if ($sessionStart) {
$this->sessionCache['localFileSystemInotify_disable'] = true;
session_write_close();
elFinder::sessionWrite();
}
return false;