]> git.wh0rd.org - tt-rss.git/blobdiff - include/rssfuncs.php
Keep local cached images fresh if file exists.
[tt-rss.git] / include / rssfuncs.php
index a922516cd71b71633f4cc24b086b84a71d2fb5c7..7ea0bf0c88e3bfa5f811d529623e257203fa8b0b 100644 (file)
                                        if ($file_content && strlen($file_content) > _MIN_CACHE_IMAGE_SIZE) {
                                                file_put_contents($local_filename, $file_content);
                                        }
+                               } else {
+                                       touch($local_filename);
                                }
                        }
                }