diff options
author | Andrew Dolgov <[email protected]> | 2011-11-05 14:55:08 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-05 14:56:25 +0400 |
commit | e894e97f495597584aea2f86e78767910b5f71e6 (patch) | |
tree | 21e95f098dedae09fa8f8300b8689db6531bb865 | |
parent | ff4019f004077104f3099a558f4f316f55bc142c (diff) |
fetch_feed_favicon: do not generate warning when icon file is not
writable (refs #375)
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index ae73298ef..4c4f76876 100644 --- a/functions.php +++ b/functions.php @@ -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); |