mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:LocalFileSystem] fix warning error
This commit is contained in:
@@ -214,7 +214,8 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
if ($r === 0) {
|
||||
// changed
|
||||
clearstatcache();
|
||||
return filemtime($path);
|
||||
$mtime = @filemtime($path); // error on busy?
|
||||
return $mtime? $mtime : time();
|
||||
} else if ($r === 2) {
|
||||
// not changed (timeout)
|
||||
return $compare;
|
||||
|
||||
Reference in New Issue
Block a user