maj update et defaultdata
This commit is contained in:
parent
ad962c7851
commit
dc721d08c2
|
@ -105,7 +105,6 @@ if ($this->getData(['core', 'dataVersion']) < 4403) {
|
||||||
// Mise à jour
|
// Mise à jour
|
||||||
$this->setData(['core', 'dataVersion', 4403]);
|
$this->setData(['core', 'dataVersion', 4403]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->getData(['core', 'dataVersion']) < 4404) {
|
if ($this->getData(['core', 'dataVersion']) < 4404) {
|
||||||
if( $this->getData(['theme', 'site', 'width']) === '750px') $this->setData(['theme', 'site', 'width', '75vw']);
|
if( $this->getData(['theme', 'site', 'width']) === '750px') $this->setData(['theme', 'site', 'width', '75vw']);
|
||||||
if( $this->getData(['theme', 'site', 'width']) === '960px') $this->setData(['theme', 'site', 'width', '85vw']);
|
if( $this->getData(['theme', 'site', 'width']) === '960px') $this->setData(['theme', 'site', 'width', '85vw']);
|
||||||
|
@ -113,4 +112,8 @@ if ($this->getData(['core', 'dataVersion']) < 4404) {
|
||||||
// Mise à jour
|
// Mise à jour
|
||||||
$this->setData(['core', 'dataVersion', 4404]);
|
$this->setData(['core', 'dataVersion', 4404]);
|
||||||
}
|
}
|
||||||
|
if ($this->getData(['core', 'dataVersion']) < 4405) {
|
||||||
|
// Mise à jour
|
||||||
|
$this->setData(['core', 'dataVersion', 4405]);
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -69,7 +69,7 @@ class init extends common {
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'core' => [
|
'core' => [
|
||||||
'dataVersion' => 4404,
|
'dataVersion' => 4405,
|
||||||
'lastBackup' => 0,
|
'lastBackup' => 0,
|
||||||
'lastClearTmp' => 0,
|
'lastClearTmp' => 0,
|
||||||
'lastAutoUpdate' => 0,
|
'lastAutoUpdate' => 0,
|
||||||
|
|
Loading…
Reference in New Issue