]> git.wh0rd.org Git - tt-rss.git/commitdiff
block error output when fetching favicons with CURL
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Aug 2006 10:28:08 +0000 (11:28 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Aug 2006 10:28:08 +0000 (11:28 +0100)
functions.php

index 6ed06898bf8f40f655f796d6b6083e1ccfdc576f..e2f6c261466d3fe2a3ad02b704059e4413ab0169 100644 (file)
                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");
 
                                        fclose($fp);                                    
                                }
 
-                               //error_reporting (DEFAULT_ERROR_LEVEL);
+                               error_reporting (DEFAULT_ERROR_LEVEL);
 
                        } else {