diff --git a/module/blog/blog.php b/module/blog/blog.php index a3906667..5cb40fb2 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -634,10 +634,9 @@ class blog extends common { if ($this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'commentNotification']) === true) { $sent = $this->sendMail( $to, - 'Nouveau commentaire', - 'Bonjour,'.'
'. $notification. - ' sur la page "'. $this->getData(['page', $this->getUrl(0), 'title']). '" dans l\'article "'.$this->getUrl(1) .'" :
'. - $content, + 'Nouveau commentaire déposé', + 'Bonjour' . ' ' . $user['firstname'] . ' ' . $user['lastname'] . ',

' . + 'L\'article ' . $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'title']) . ' a reçu un nouveau commentaire.

', '' ); // Valeurs en sortie diff --git a/site/data/.htaccess b/site/data/.htaccess index 85278f82..2d900f16 100755 --- a/site/data/.htaccess +++ b/site/data/.htaccess @@ -3,6 +3,10 @@ Order deny,allow Deny from all + + Order deny,allow + Deny from all + # Bloque l'accès htaccess Order deny,allow