FIX - поломалась работа с сертификатами в курле
This commit is contained in:
parent
79c2a22069
commit
ae35ecc95b
|
|
@ -8,6 +8,7 @@ class Alarmer
|
|||
|
||||
$ch = curl_init("https://alarmerbot.ru/");
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
|
||||
"key" => App::getConfig('alarmerKey'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue