Skip to content
Snippets Groups Projects
Commit 8e9d7609 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: add curl_setopt($cHandler, CURLOPT_SSL_VERIFYHOST, false);

parent a6992e11
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,7 @@ class MailmanSpip
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, empty($conf->global->MAIN_USE_CONNECT_TIMEOUT)?5:$conf->global->MAIN_USE_CONNECT_TIMEOUT);
curl_setopt($ch, CURLOPT_TIMEOUT, empty($conf->global->MAIN_USE_RESPONSE_TIMEOUT)?30:$conf->global->MAIN_USE_RESPONSE_TIMEOUT);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
$result = curl_exec($ch);
dol_syslog('result curl_exec='.$result);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment