install themes

This commit is contained in:
Yuri Kuznetsov
2022-07-24 13:23:57 +03:00
parent 77129b9f81
commit dd732d3044

View File

@@ -267,9 +267,10 @@ class Installer
public function getThemeList(): array
{
return [
'HazyblueVertical',
'DarkVertical',
'SakuraVertical',
'Espo',
'Sakura',
'Dark',
'Hazyblue',
];
}
@@ -367,7 +368,7 @@ class Installer
'passwordSalt' => $this->getPasswordHash()->generateSalt(),
'cryptKey' => $this->getContainer()->get('crypt')->generateKey(),
'hashSecretKey' => Util::generateSecretKey(),
'theme' => $saveData['theme'] ?? 'HazyblueVertical',
'theme' => $saveData['theme'] ?? 'Espo',
];
if (empty($saveData['defaultPermissions']['user'])) {