Change our TIC mtime comparision to compare with the actual mtime of the TIC file
This commit is contained in:
parent
fbcbe2c5a8
commit
b8670a5593
@ -311,7 +311,7 @@ class Tic extends FTNBase
|
|||||||
$found = FALSE;
|
$found = FALSE;
|
||||||
$crcOK = FALSE;
|
$crcOK = FALSE;
|
||||||
foreach ($fs->files(config('fido.dir')) as $file) {
|
foreach ($fs->files(config('fido.dir')) as $file) {
|
||||||
if (abs($x=$mtime-$fs->lastModified($file)) > 86400) {
|
if (abs($x=$fs->lastModified($rel_path_name)-$fs->lastModified($file)) > 86400) {
|
||||||
Log::debug(sprintf('%s:/ Ignoring [%s] its mtime is outside of our scope [%d]',self::LOGKEY,$file,$x));
|
Log::debug(sprintf('%s:/ Ignoring [%s] its mtime is outside of our scope [%d]',self::LOGKEY,$file,$x));
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user