From: Andrew Dolgov Date: Thu, 23 Aug 2018 10:43:31 +0000 (+0300) Subject: send_local_file: touch() sent files to reset their expiration cooldown X-Git-Tag: 18.12~87^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f3068c6397aee3533f8a3f8b862281bea5b04278;p=tt-rss.git send_local_file: touch() sent files to reset their expiration cooldown --- diff --git a/include/functions.php b/include/functions.php index f03ed3a9..453f329b 100755 --- a/include/functions.php +++ b/include/functions.php @@ -2601,6 +2601,9 @@ should be loaded systemwide in config.php */ function send_local_file($filename) { if (file_exists($filename)) { + + if (is_writable($filename)) touch($filename); + $tmppluginhost = new PluginHost(); $tmppluginhost->load(PLUGINS, PluginHost::KIND_SYSTEM);