debug
This commit is contained in:
@ -9,7 +9,7 @@ class notificationFreemobile
|
||||
public $lastTry;
|
||||
public $lastTryTimeout = 5;
|
||||
protected $dest = array(
|
||||
"daniel" => "15480189&pass=yVpPmCWmUl2HGp",
|
||||
"Daniel" => "15480189&pass=yVpPmCWmUl2HGp",
|
||||
);
|
||||
|
||||
function __construct()
|
||||
@ -27,7 +27,7 @@ class notificationFreemobile
|
||||
curl_setopt($ch, CURLOPT_URL, $this->url . $this->dest[$destinataire] . "&msg=" . urlencode(trim($message)));
|
||||
|
||||
// return the transfer as a string
|
||||
//curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||
// $result contains the output string
|
||||
if ($this->curlErr <= 5)
|
||||
{
|
||||
|
Reference in New Issue
Block a user