1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 21:45:56 +00:00

send_local_file: touch() sent files to reset their expiration cooldown

This commit is contained in:
Andrew Dolgov
2018-08-23 13:43:31 +03:00
parent 54727f9534
commit f3068c6397

View File

@@ -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);