2
0
forked from Wavyzz/dolibarr

New: Add a page on performance advice

This commit is contained in:
Laurent Destailleur
2013-07-09 13:50:20 +02:00
parent b26250c45a
commit 5706779c8b
6 changed files with 502 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ function getURLContent($url,$postorget='GET',$param='')
$rep['content']=$response;
$rep['curl_error_no']='';
$rep['curl_error_msg']='';
dol_syslog("getURLContent response=".$response);
if (curl_errno($ch))
@@ -96,7 +96,10 @@ function getURLContent($url,$postorget='GET',$param='')
}
else
{
//closing the curl
$info = curl_getinfo($ch);
$rep['header_size']=$info['header_size'];
//closing the curl
curl_close($ch);
}