Merge pull request #2313 from GPCsolutions/3.6-ssl

FIXED Removed deprecated forcing SSLv3 for CURL
This commit is contained in:
Laurent Destailleur 2015-02-03 13:09:50 +01:00
commit 212319b1f8

View File

@ -52,7 +52,6 @@ function getURLContent($url,$postorget='GET',$param='',$followlocation=1,$addhea
exit;*/
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_SSLVERSION, 3); // Force SSLv3
curl_setopt($ch, CURLOPT_USERAGENT, 'Dolibarr geturl function');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, ($followlocation?true:false));