From c59bb0bc7884b8b96df428e0d55bea73dbd3cfe7 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 4 Oct 2019 21:12:18 +0200 Subject: [PATCH] [10.0.18.dev] pb hompageid --- core/core.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index a4a84397..02829050 100644 --- a/core/core.php +++ b/core/core.php @@ -35,7 +35,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '10.0.17.dev'; + const ZWII_VERSION = '10.0.18.dev'; public static $actions = []; public static $coreModuleIds = [ @@ -1111,8 +1111,8 @@ class common { } // Version 10.0.00 if($this->getData(['core', 'dataVersion']) < 10000) { - //$this->setData(['page',$this->getData(['config','homePageId']),'homePageId']); - //$this->deleteData(['config','homePageId']); + $this->setData(['page',$this->getData(['config','homePageId']),'homePageId', true]); + $this->deleteData(['config','homePageId']); $this->setData(['core', 'dataVersion', 10000]); }