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

master
Andrew Dolgov 6 years ago
parent 54727f9534
commit f3068c6397

@ -2601,6 +2601,9 @@
should be loaded systemwide in config.php */ should be loaded systemwide in config.php */
function send_local_file($filename) { function send_local_file($filename) {
if (file_exists($filename)) { if (file_exists($filename)) {
if (is_writable($filename)) touch($filename);
$tmppluginhost = new PluginHost(); $tmppluginhost = new PluginHost();
$tmppluginhost->load(PLUGINS, PluginHost::KIND_SYSTEM); $tmppluginhost->load(PLUGINS, PluginHost::KIND_SYSTEM);

Loading…
Cancel
Save