From a082bb130ed0941940706073ab6934adcec0c8b8 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 31 Dec 2020 18:02:08 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Interdire=20le=20t=C3=A9l=C3=A9chargement?= =?UTF-8?q?=20des=20backup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/data/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) 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 From 0e00d6462069f7f29b5b81be6fa237df67066069 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 2 Jan 2021 17:16:29 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Blog=20mail=20notification=20:=20nom=20de?= =?UTF-8?q?=20l'article=20plut=C3=B4t=20que=20la=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/blog/blog.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index c8329e86..006fd8d2 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -438,9 +438,9 @@ class blog extends common { if ($this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(1), 'mailNotification']) === true) { $sent = $this->sendMail( $to, - 'Nouveau commentaire', + 'Nouveau commentaire déposé', 'Bonjour' . ' ' . $user['firstname'] . ' ' . $user['lastname'] . ',

' . - 'Nouveau commentaire déposé sur la page "' . $this->getData(['page', $this->getUrl(0), 'title']) . '" :

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

', '' ); // Valeurs en sortie @@ -448,7 +448,7 @@ class blog extends common { 'redirect' => helper::baseUrl() . $this->getUrl() . '#comment', //'notification' => 'Commentaire ajouté', //'state' => true - 'notification' => ($sent === true ? 'Commentaire ajouté et une notification envoyée' : 'Commentaire ajouté, erreur de notification :
' . $sent), + 'notification' => ($sent === true ? 'Commentaire ajouté, les administrateurs ont été notifiés.' : 'Commentaire ajouté.
' . $sent), 'state' => ($sent === true ? true : null) ]); From 31981a39e6762a2ca746dbafd7e0134f894b2f97 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 2 Jan 2021 17:21:38 +0100 Subject: [PATCH 3/3] Blog version --- module/blog/blog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/blog/blog.php b/module/blog/blog.php index 006fd8d2..f62fc58e 100755 --- a/module/blog/blog.php +++ b/module/blog/blog.php @@ -52,7 +52,7 @@ class blog extends common { public static $users = []; - const BLOG_VERSION = '2.12'; + const BLOG_VERSION = '2.13'; /** * Flux RSS