first tiny fixes to get the installation running

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-02-15 11:31:49 +01:00
parent 56a9a71248
commit 96cdb34d71
5 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View File

@@ -16,7 +16,6 @@ img/
!templates/Froxlor/
!templates/Sparkle/
!templates/Sparkl2/
!templates/misc/
templates/Sparkle/assets/css/custom.css
vendor/

0
cache/.keep vendored Normal file
View File

View File

@@ -33,7 +33,7 @@ class UI
*
* @var string
*/
private static $default_theme = 'Sparkle2';
private static $default_theme = 'Froxlor';
private static $install_mode = false;
@@ -145,8 +145,8 @@ class UI
$theme = self::$default_theme;
if (!self::$install_mode) {
// system default
if (\Froxlor\Froxlor::DBVERSION <= 201909150) {
\Froxlor\Settings::Set('panel.default_theme', 'Sparkle2');
if (\Froxlor\Froxlor::DBVERSION <= 202299999) {
\Froxlor\Settings::Set('panel.default_theme', 'Froxlor');
}
$theme = (\Froxlor\Settings::Get('panel.default_theme') !== null) ? \Froxlor\Settings::Get('panel.default_theme') : $theme;
// customer theme

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB