From 43da5f03db4ce12e4748760a90cf693c16f05960 Mon Sep 17 00:00:00 2001 From: F Tempez Date: Wed, 7 Apr 2021 14:29:24 +0200 Subject: [PATCH] =?UTF-8?q?Appel=20automatique=20des=20initCSS=20lors=20de?= =?UTF-8?q?=20la=20mise=20=C3=A0=20jour=20vers=2010600?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/core/core.php b/core/core.php index b06d8637..8f43811f 100755 --- a/core/core.php +++ b/core/core.php @@ -1599,12 +1599,12 @@ class common { $pageList [] = $childKey; } } - // Parcourir pageList et rechercher les modules au CSS autonome + // Parcourir pageList et rechercher les modules au CSS autonomes foreach ($pageList as $parentKey => $parent) { - // Module search - echo $parent; if ( $this->getData(['page',$parent,'moduleId']) === 'search' + || $this->getData(['page',$parent,'moduleId']) === 'gallery' + || $this->getData(['page',$parent,'moduleId']) === 'news' ){ if(class_exists($parent)) { $module = new $moduleId; @@ -1612,10 +1612,9 @@ class common { } } } - + } - die(); - //$this->setData(['core', 'dataVersion', 10600]); + $this->setData(['core', 'dataVersion', 10600]); } }