install default theme

This commit is contained in:
Yuri Kuznetsov
2022-12-07 17:18:14 +02:00
parent 3099ef6dc3
commit d5fb8af1a3
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -50,19 +50,12 @@ use Espo\Core\ORM\EntityManager;
class Installer
{
private $app = null;
private $language = null;
private $systemHelper = null;
private $databaseHelper = null;
private $installerConfig;
private $isAuth = false;
private $passwordHash;
private $defaultSettings;
private $permittedSettingList = [
+1 -1
View File
@@ -193,7 +193,7 @@ $smarty->assign('action', ucfirst($action));
$smarty->assign('config', $config);
$smarty->assign('installerConfig', $installer->getInstallerConfigData());
$theme = $_SESSION['install']['theme'] ?? 'Espo';
$theme = $_SESSION['install']['theme'] ?? 'Violet';
$stylesheet = $installer->getMetadata()->get(['themes', $theme, 'stylesheet']);
$smarty->assign('stylesheet', $stylesheet);