diff --git a/CHANGES.md b/CHANGES.md index 94370aa6..302924a8 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,8 @@ ## version 10.5.03 - Correction : - Options de configuration SMTP invisibles. +- Modification : + - Libellé des erreurs 403 et 404. ## version 10.5.02 - Corrections : diff --git a/core/core.php b/core/core.php index ca748022..9710fbaa 100755 --- a/core/core.php +++ b/core/core.php @@ -2219,8 +2219,8 @@ class core extends common { header('Location:' . helper::baseUrl() . $this->getData(['locale','page403'])); } else { $this->addOutput([ - 'title' => 'Erreur 403', - 'content' => template::speech('Vous n\'êtes pas autorisé à accéder à cette page...') + 'title' => 'Accès interdit', + 'content' => template::speech('Vous n\'êtes pas autorisé à consulter cette page (erreur 403)') ]); } } @@ -2232,8 +2232,8 @@ class core extends common { header('Location:' . helper::baseUrl() . $this->getData(['locale','page404'])); } else { $this->addOutput([ - 'title' => 'Erreur 404', - 'content' => template::speech('Oups ! La page demandée est introuvable...') + 'title' => 'Page indisponible', + 'content' => template::speech('Oups ! La page demandée n\'existe pas ou est introuvable (erreur 404)') ]); } }