diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/network.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/network.php b/include/network.php index 9768a2544..f8cb68613 100644 --- a/include/network.php +++ b/include/network.php @@ -88,8 +88,6 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) { $instance_headers[] = 'Cookie: PHPSESSID=' . session_id(); } } - logger('headers: ' . json_encode($instance_headers, JSON_PRETTY_PRINT)); - if($instance_headers) @curl_setopt($ch, CURLOPT_HTTPHEADER, $instance_headers); @@ -145,7 +143,7 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) { $base = $s; $curl_info = @curl_getinfo($ch); $http_code = $curl_info['http_code']; - logger('fetch_url:' . $http_code . ' data: ' . $s); + //logger('fetch_url:' . $http_code . ' data: ' . $s); $header = ''; // Pull out multiple headers, e.g. proxy and continuation headers |