This commit is contained in:
Krivchikov Dmitry 2016-04-13 21:23:25 +03:00
parent 9d8cab6ab4
commit a1ae282446
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Alarmer
if (App::getConfig('alarmerKey')) { if (App::getConfig('alarmerKey')) {
$ch = curl_init("https://alarmerbot.ru/"); $ch = curl_init("https://alarmerbot.ru/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_TIMEOUT, 5);
curl_setopt($ch, CURLOPT_POSTFIELDS, array( curl_setopt($ch, CURLOPT_POSTFIELDS, array(
"key" => App::getConfig('alarmerKey'), "key" => App::getConfig('alarmerKey'),