mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 22:41:29 +00:00
send_local_file: touch() sent files to reset their expiration cooldown
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user