]> git.mxchange.org Git - friendica.git/commitdiff
curl_code tests
authorFriendika <info@friendika.com>
Fri, 26 Nov 2010 00:15:44 +0000 (16:15 -0800)
committerFriendika <info@friendika.com>
Fri, 26 Nov 2010 00:15:44 +0000 (16:15 -0800)
boot.php

index bd8ddeeaa2235cce35f9f176588c64c617677254..c5ce3bed32248dd6850cb72067e0378fa256c540 100644 (file)
--- 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)) {