This commit is contained in:
Daniil Gentili 2017-01-29 13:12:48 +01:00
commit 7d388f9cbe

View File

@ -472,7 +472,8 @@ trait UpdateHandler
} }
} }
public function pwr_webhook($update) { public function pwr_webhook($update)
{
$ch = curl_init(); $ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, $this->hook_url); curl_setopt($ch, CURLOPT_URL, $this->hook_url);