From 6794db37191ad0b01eae0e77a3c97877b409b5b4 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 11 Oct 2023 21:07:34 +0200 Subject: [PATCH] default form localhost --- core/core.php | 2 +- core/module/install/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 1cdd5a7b..941cb4bd 100644 --- a/core/core.php +++ b/core/core.php @@ -1195,7 +1195,7 @@ class common * @param string $content Contenu * @return bool */ - public function sendMail($to, $subject, $content, $replyTo = null, $from = '') + public function sendMail($to, $subject, $content, $replyTo = null, $from = 'no-reply@localhost') { // Layout ob_start(); diff --git a/core/module/install/install.php b/core/module/install/install.php index b0574ba1..a8c15b13 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -167,7 +167,7 @@ class install extends common 'URL du site : ' . helper::baseUrl(false) . '
' . 'Identifiant du compte : ' . $this->getInput('installId') . '
', null, - 'localhost' + 'no-reply@localhost' ); // Nettoyage fr par défaut