From b8670a559387217f8c818c08d6a15d4307f9549c Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 22 Nov 2023 17:25:48 +1100 Subject: [PATCH] Change our TIC mtime comparision to compare with the actual mtime of the TIC file --- app/Classes/FTN/Tic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/FTN/Tic.php b/app/Classes/FTN/Tic.php index febe9de..5cc628e 100644 --- a/app/Classes/FTN/Tic.php +++ b/app/Classes/FTN/Tic.php @@ -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;