on renomme le fichier de log, dans ce cas, ce n'est pas une erreur mais un debug

pull/8/head
tofulm 6 months ago
parent 76b3ede045
commit ceca31fbdd

@ -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;

Loading…
Cancel
Save