159,7 → 159,7 |
// ajoute une entrée au log |
protected function log() { |
$contenu = ''. |
date("Y-m-d h:i:s") . "\n". |
date("Y-m-d H:i:s") . "\n". |
"Pour: " . $this->serviceDestination . " <" . $this->emailDestination . ">\n". |
"Page: " . $this->pageSource . "\n". |
"User agent: " . $_SERVER['HTTP_USER_AGENT'] . "\n". |
176,7 → 176,7 |
// envoie un email |
protected function email() { |
$contenu = ''. |
date("Y-m-d h:i:s") . "\n". |
date("Y-m-d H:i:s") . "\n". |
"Pour: " . $this->serviceDestination . " <" . $this->emailDestination . ">\n". |
"Page: " . $this->pageSource . "\n". |
"User agent: " . $_SERVER['HTTP_USER_AGENT'] . "\n". |