[9.2.00] defaultdata settings

This commit is contained in:
fredtempez 2019-07-10 09:19:12 +02:00
parent b6051bda0d
commit 471cc0d8eb
2 changed files with 11 additions and 7 deletions

View File

@ -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();
}
}

View File

@ -441,6 +441,7 @@ class install extends common {
'displaySiteMap' => true,
'displayCopyright' => true,
'displayLegal' => false,
'displaySearch' => false,
'template' => '3'
],
'header' => [