[VD:LocalFileSystem] inotifywait target event create to close_write

This commit is contained in:
nao-pon
2016-01-14 22:15:25 +09:00
parent 0d70bb1d90
commit 62336390f4
+1 -1
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