aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index b5b6fdfd8..b3692acbe 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -208,7 +208,7 @@ class FreshRSS_Feed extends Minz_Model {
$url = $this->url;
}
$txt = FAVICONS_DIR . $this->hash() . '.txt';
- if (!file_exists($txt)) {
+ if (@file_get_contents($txt) !== $url) {
file_put_contents($txt, $url);
}
if (FreshRSS_Context::$isCli) {