1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:45:56 +00:00

fetch_feed_favicon: do not generate warning when icon file is not

writable (refs #375)
This commit is contained in:
Andrew Dolgov
2011-11-05 14:55:08 +04:00
parent ff4019f004
commit e894e97f49

View File

@@ -476,7 +476,7 @@
$contents = fetch_file_contents($favicon_url, "image");
if ($contents) {
$fp = fopen($icon_file, "w");
$fp = @fopen($icon_file, "w");
if ($fp) {
fwrite($fp, $contents);