forked from ZwiiCMS-Team/ZwiiCMS
Numéro de version sur 3 digits
This commit is contained in:
parent
33a2ad06b5
commit
b1b25d5001
@ -26,7 +26,7 @@ class common {
|
|||||||
const GROUP_MEMBER = 1;
|
const GROUP_MEMBER = 1;
|
||||||
const GROUP_MODERATOR = 2;
|
const GROUP_MODERATOR = 2;
|
||||||
const GROUP_ADMIN = 3;
|
const GROUP_ADMIN = 3;
|
||||||
const ZWII_VERSION = '9.0.00';
|
const ZWII_VERSION = '9.0.0';
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
public static $coreModuleIds = [
|
public static $coreModuleIds = [
|
||||||
@ -1091,14 +1091,13 @@ class common {
|
|||||||
$this->SaveData();
|
$this->SaveData();
|
||||||
}
|
}
|
||||||
// Version 9.0.0
|
// Version 9.0.0
|
||||||
if($this->getData(['core', 'dataVersion']) < 9000) {
|
if($this->getData(['core', 'dataVersion']) < 900) {
|
||||||
$this->setData(['theme', 'site', 'block','12']);
|
$this->setData(['theme', 'site', 'block','12']);
|
||||||
if ($this->getData(['theme','menu','position']) === 'body-top') {
|
if ($this->getData(['theme','menu','position']) === 'body-top') {
|
||||||
$this->setData(['theme','menu','position','top']);
|
$this->setData(['theme','menu','position','top']);
|
||||||
}
|
}
|
||||||
$this->setData(['theme', 'menu','fixed',false]);
|
$this->setData(['theme', 'menu','fixed',false]);
|
||||||
$this->setData(['theme', 'themeVersion', 9000]);
|
$this->setData(['core', 'dataVersion', 900]);
|
||||||
$this->setData(['core', 'dataVersion', 9000]);
|
|
||||||
$this->SaveData();
|
$this->SaveData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user