src build elFinder-2.1-1939dcb

This commit is contained in:
nao-pon
2016-07-06 21:11:25 +09:00
parent b407f50081
commit 660a718061
7 changed files with 27 additions and 11 deletions
+7 -2
View File
@@ -218,8 +218,13 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
if ($r === 0) {
// changed
clearstatcache();
$mtime = filemtime($path); // error on busy?
return $mtime? $mtime : time();
if (file_exists($path)) {
$mtime = filemtime($path); // error on busy?
return $mtime? $mtime : time();
} else {
// target was removed
return 0;
}
} else if ($r === 2) {
// not changed (timeout)
return $compare;