diff --git a/classes/feeds.php b/classes/feeds.php index 95987f73..07dd2a60 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -1586,6 +1586,10 @@ class Feeds extends Handler_Protected { } } + static function getIconFile($feed_id) { + return ICONS_DIR . "/$feed_id.ico"; + } + static function getFeedIcon($id) { switch ($id) { case 0: @@ -1610,8 +1614,11 @@ class Feeds extends Handler_Protected { if ($id < LABEL_BASE_INDEX) { return "images/label.png"; } else { - if (file_exists(ICONS_DIR . "/$id.ico")) - return ICONS_URL . "/$id.ico"; + $icon = self::getIconFile($id); + + if ($icon && file_exists($icon)) { + return ICONS_URL . "/" . basename($icon) . "?" . filemtime($icon); + } } break; } diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 9f7ada24..5b7e52ac 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -726,19 +726,23 @@ class Pref_Feeds extends Handler_Protected { print "