diff --git a/core/core.php b/core/core.php index 943ed052..50d8bf05 100644 --- a/core/core.php +++ b/core/core.php @@ -26,7 +26,7 @@ class common { const GROUP_MEMBER = 1; const GROUP_MODERATOR = 2; const GROUP_ADMIN = 3; - const ZWII_VERSION = '9.0.0'; + const ZWII_VERSION = '9.0.00'; public static $actions = []; public static $coreModuleIds = [ @@ -1047,12 +1047,6 @@ class common { $this->setData(['core', 'dataVersion', 831]); $this->SaveData(); } - // Versions intermédiaires - // Erreur de nommage - if($this->getData(['core', 'dataVersion']) >= 8311) { - $this->setData(['core', 'dataVersion', 832]); - $this->SaveData(); - } // Version 8.4.0 if($this->getData(['core', 'dataVersion']) < 840) { @@ -1073,6 +1067,8 @@ class common { } // Version 8.4.6 if($this->getData(['core', 'dataVersion']) < 846) { + echo $this->getData(['core', 'dataVersion']); + echo '
'; $this->setData(['config','itemsperPage',10]); $this->setData(['core', 'dataVersion', 846]); $this->SaveData(); @@ -1085,21 +1081,23 @@ class common { } // Version 8.5.1 if($this->getData(['core', 'dataVersion']) < 851) { + echo $this->getData(['core', 'dataVersion']); + echo '
'; $this->setData(['config','itemsperPage',10]); $this->deleteData(['config','ItemsperPage']); $this->setData(['core', 'dataVersion', 851]); $this->SaveData(); } // Version 9.0.0 - if($this->getData(['core', 'dataVersion']) < 900) { + if($this->getData(['core', 'dataVersion']) < 9000) { $this->setData(['theme', 'site', 'block','12']); if ($this->getData(['theme','menu','position']) === 'body-top') { $this->setData(['theme','menu','position','top']); } $this->setData(['theme', 'menu','fixed',false]); - $this->setData(['core', 'dataVersion', 900]); + $this->setData(['core', 'dataVersion', 9000]); $this->SaveData(); - } + } } }