Fix: add curl_setopt($cHandler, CURLOPT_SSL_VERIFYHOST, false);
This commit is contained in:
parent
a6992e116b
commit
8e9d760903
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user