[-] CORE : do not verify ssl certificate when using CURL

This commit is contained in:
gRoussac
2013-02-20 14:26:16 +01:00
parent 3b4978af36
commit 477b0f8b1c
+1
View File
@@ -1288,6 +1288,7 @@ class ToolsCore
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $curl_timeout);
curl_setopt($curl, CURLOPT_TIMEOUT, $curl_timeout);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
$opts = stream_context_get_options($stream_context);
if (isset($opts['http']['method']) && Tools::strtolower($opts['http']['method']) == 'post')
{