FIX - поломалась работа с сертификатами в курле

This commit is contained in:
Krivchikov Dmitry 2016-05-17 20:21:22 +03:00
parent 79c2a22069
commit ae35ecc95b
1 changed files with 1 additions and 0 deletions

View File

@ -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'),