From 6fb31e2632bc3cfbf46f2d4b0f1424c7d2499855 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 13 Sep 2023 14:57:36 +1000 Subject: [PATCH] Logging to catch the mtime being set on received files --- app/Classes/File/Receive.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Classes/File/Receive.php b/app/Classes/File/Receive.php index b9568af..8f73964 100644 --- a/app/Classes/File/Receive.php +++ b/app/Classes/File/Receive.php @@ -117,6 +117,7 @@ class Receive extends Base fclose($this->f); // Set our mtime + Log::info(sprintf('%s:= Setting file [%s] to time [%s]',self::LOGKEY,$this->receiving->full_name,$this->receiving->mtime)); touch($this->receiving->full_name,$this->receiving->mtime); $this->f = NULL;