forked from ZwiiCMS-Team/ZwiiCMS
[9.2.27] data version
This commit is contained in:
parent
e726f446e4
commit
8c58135cda
@ -1090,13 +1090,13 @@ class common {
|
||||
$this->setData(['core', 'dataVersion', 9223]);
|
||||
$this->saveData();
|
||||
}
|
||||
// Version 9.3.00
|
||||
if($this->getData(['core', 'dataVersion']) < 9300) {
|
||||
// Version 9.2.27
|
||||
if($this->getData(['core', 'dataVersion']) < 9227) {
|
||||
// Forcer la régénération du thème
|
||||
if (file_exists(self::DATA_DIR.'theme.css') === false) {
|
||||
unlink (self::DATA_DIR.'theme.css');
|
||||
}
|
||||
$this->setData(['core', 'dataVersion', 9300]);
|
||||
$this->setData(['core', 'dataVersion', 9227]);
|
||||
$this->saveData();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user