From: Friendika Date: Fri, 26 Nov 2010 00:15:44 +0000 (-0800) Subject: curl_code tests X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=289a0dc2685f2d26aa39f2ffb10db7d2c929e8db;p=friendica.git curl_code tests --- diff --git a/boot.php b/boot.php index bd8ddeeaa2..c5ce3bed32 100644 --- a/boot.php +++ b/boot.php @@ -423,8 +423,6 @@ function fetch_url($url,$binary = false, &$redirects = 0) { $s = curl_exec($ch); -// logger('Curl ' . curl_getinfo($ch,CURLINFO_HTTP_CODE)); - $http_code = intval(curl_getinfo($ch, CURLINFO_HTTP_CODE)); $header = substr($s,0,strpos($s,"\r\n\r\n")); if(stristr($header,'100') && (strlen($header) < 30)) {