|
|
|
@ -45,7 +45,7 @@ class SendSMSclass
|
|
|
|
|
$this->formatMessage();
|
|
|
|
|
|
|
|
|
|
// un petit log avec les informations essentielles pour le debug
|
|
|
|
|
spip_log('host = ' . $this->host . ' request_data = ' . $this->request_data . ' headers = ' . print_r($this->optional_headers,true), 'sms_error.' . _LOG_DEBUG);
|
|
|
|
|
spip_log('host = ' . $this->host . ' request_data = ' . $this->request_data . ' headers = ' . print_r($this->optional_headers,true), 'sms' . _LOG_DEBUG);
|
|
|
|
|
// on envoie le SMS
|
|
|
|
|
$this->response = $this->do_post_request($this->host, $this->request_data, $this->optional_headers);
|
|
|
|
|
return $this->response;
|
|
|
|
|