Merge branch '10400' into 11000

This commit is contained in:
fredtempez 2021-01-02 17:24:49 +01:00
commit 7c3c0c145c
2 changed files with 7 additions and 4 deletions

View File

@ -634,10 +634,9 @@ class blog extends common {
if ($this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'commentNotification']) === true) { if ($this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'commentNotification']) === true) {
$sent = $this->sendMail( $sent = $this->sendMail(
$to, $to,
'Nouveau commentaire', 'Nouveau commentaire déposé',
'Bonjour,'.'<br/>'. $notification. 'Bonjour' . ' <strong>' . $user['firstname'] . ' ' . $user['lastname'] . '</strong>,<br><br>' .
' sur la page "'. $this->getData(['page', $this->getUrl(0), 'title']). '" dans l\'article "'.$this->getUrl(1) .'" :<br/>'. 'L\'article <a href="' . helper::baseUrl() . $this->getUrl(0) . '/ ' . $this->getUrl(1) . '">' . $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'title']) . '</a> a reçu un nouveau commentaire.<br><br>',
$content,
'' ''
); );
// Valeurs en sortie // Valeurs en sortie

View File

@ -3,6 +3,10 @@
Order deny,allow Order deny,allow
Deny from all Deny from all
</Files> </Files>
<Files *.json.back>
Order deny,allow
Deny from all
</Files>
# Bloque l'accès htaccess # Bloque l'accès htaccess
<Files .htaccess> <Files .htaccess>
Order deny,allow Order deny,allow