From 27c91356fbcb3d88ce495e480e85cdb24b46319e Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 14 May 2021 17:52:07 +0200 Subject: [PATCH] Search 2.1 config vide --- module/search/search.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/search/search.php b/module/search/search.php index 8571d43d..e336de2a 100755 --- a/module/search/search.php +++ b/module/search/search.php @@ -19,7 +19,7 @@ class search extends common { - const VERSION = '2.0'; + const VERSION = '2.1'; const REALNAME = 'Recherche'; const DELETE = true; const UPDATE = '0.0'; @@ -104,6 +104,8 @@ class search extends common { // Données de thème $this->setData(['module', $this->getUrl(0), 'theme',init::$defaultTheme ]); $this->setData(['module', $this->getUrl(0), 'theme', 'style', self::DATADIRECTORY . 'pages/' . $this->getUrl(0) . '/theme.css' ]); + // Recharger la page pour éviter une config vide + header("Refresh:0"); } // Dossier de l'instance @@ -120,6 +122,7 @@ class search extends common { // Stocker le nom de la feuille de style $this->setData(['module', $this->getUrl(0) , 'theme', 'style', $fileCSS]); } + }