summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-20 11:28:08 +0100
committerAndrew Dolgov <[email protected]>2006-08-20 11:28:08 +0100
commit99331724972f9b810ae6a3f2f83ba948da794c45 (patch)
tree4d98da665d934682b9e31453e95eed76e18a68b3 /functions.php
parentc798704b2901048e886966c6db4caed8d1b6130d (diff)
block error output when fetching favicons with CURL
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 6ed06898b..e2f6c2614 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 {