mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Merge pull request #944 from e-foundation/master
fix default theme selection
This commit is contained in:
commit
7dbcc3a58d
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ trait Themes
|
|||
|
||||
public function ValidateTheme(string $sTheme): string
|
||||
{
|
||||
return \in_array($sTheme, $this->GetThemes()) ? $sTheme : $this->Config()->Get('themes', 'default', 'Default');
|
||||
return \in_array($sTheme, $this->GetThemes()) ? $sTheme : $this->Config()->Get('webmail', 'theme', 'Default');
|
||||
}
|
||||
|
||||
public function compileCss(string $sTheme, bool $bAdmin, bool $bMinified = false) : string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue