Change our TIC mtime comparision to compare with the actual mtime of the TIC file

This commit is contained in:
Deon George 2023-11-22 17:25:48 +11:00
parent fbcbe2c5a8
commit b8670a5593

View File

@ -311,7 +311,7 @@ class Tic extends FTNBase
$found = FALSE;
$crcOK = FALSE;
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));
continue;