forked from ZwiiCMS-Team/ZwiiCMS
Merge branch '10400' into 11000
This commit is contained in:
commit
7c3c0c145c
@ -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,'.'<br/>'. $notification.
|
||||
' sur la page "'. $this->getData(['page', $this->getUrl(0), 'title']). '" dans l\'article "'.$this->getUrl(1) .'" :<br/>'.
|
||||
$content,
|
||||
'Nouveau commentaire déposé',
|
||||
'Bonjour' . ' <strong>' . $user['firstname'] . ' ' . $user['lastname'] . '</strong>,<br><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>',
|
||||
''
|
||||
);
|
||||
// Valeurs en sortie
|
||||
|
@ -3,6 +3,10 @@
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files *.json.back>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Files>
|
||||
# Bloque l'accès htaccess
|
||||
<Files .htaccess>
|
||||
Order deny,allow
|
||||
|
Loading…
Reference in New Issue
Block a user