forked from ZwiiCMS-Team/ZwiiCMS
[9.2.00] defaultdata settings
This commit is contained in:
parent
b6051bda0d
commit
471cc0d8eb
@ -934,11 +934,14 @@ class common {
|
||||
$this->setData(['core', 'dataVersion', 9100]);
|
||||
$this->SaveData();
|
||||
}
|
||||
// Version 9.1.13
|
||||
if($this->getData(['core', 'dataVersion']) < 9113) {
|
||||
// Version 9.2.00
|
||||
if($this->getData(['core', 'dataVersion']) < 9200) {
|
||||
$this->setData(['theme','footer','template', 3 ]);
|
||||
$this->setData(['theme','footer','margin', true ]);
|
||||
$this->setData(['core', 'dataVersion', 9113]);
|
||||
$this->setData(['theme','footer','displayLegal', false ]);
|
||||
$this->setData(['theme','footer','displaySearch', false ]);
|
||||
$this->setData(['config','social','githubId', '' ]);
|
||||
$this->setData(['core', 'dataVersion', 9200]);
|
||||
$this->SaveData();
|
||||
}
|
||||
}
|
||||
|
@ -441,6 +441,7 @@ class install extends common {
|
||||
'displaySiteMap' => true,
|
||||
'displayCopyright' => true,
|
||||
'displayLegal' => false,
|
||||
'displaySearch' => false,
|
||||
'template' => '3'
|
||||
],
|
||||
'header' => [
|
||||
|
Loading…
Reference in New Issue
Block a user