From: Andrew Dolgov Date: Sun, 20 Aug 2006 10:28:08 +0000 (+0100) Subject: block error output when fetching favicons with CURL X-Git-Tag: schema_freeze_for_1.2.2_(take_2)~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=99331724972f9b810ae6a3f2f83ba948da794c45;p=tt-rss.git block error output when fetching favicons with CURL --- diff --git a/functions.php b/functions.php index 6ed06898..e2f6c261 100644 --- a/functions.php +++ b/functions.php @@ -215,7 +215,8 @@ if (!file_exists($icon_file)) { if (USE_CURL_FOR_ICONS) { - //error_reporting(0); + error_reporting(0); + $ch = curl_init($icon_url); $fp = fopen($icon_file, "w"); @@ -228,7 +229,7 @@ fclose($fp); } - //error_reporting (DEFAULT_ERROR_LEVEL); + error_reporting (DEFAULT_ERROR_LEVEL); } else {