Browse Source
First first run wizzard
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/33452/head
Carl Schwan
3 years ago
No known key found for this signature in database
GPG Key ID: C3AA6B3A5EFA7AC5
1 changed files with
8 additions and
9 deletions
-
apps/theming/lib/Themes/DefaultTheme.php
|
|
|
@ -193,7 +193,6 @@ class DefaultTheme implements ITheme { |
|
|
|
// Register image variables only if custom-defined
|
|
|
|
$backgroundDeleted = $this->config->getAppValue('theming', 'backgroundMime', '') === 'backgroundColor'; |
|
|
|
foreach(['logo', 'logoheader', 'favicon', 'background'] as $image) { |
|
|
|
if ($this->imageManager->hasImage($image)) { |
|
|
|
// If primary as background has been request, let's not define the background image
|
|
|
|
if ($image === 'background' && $backgroundDeleted) { |
|
|
|
$variables["--image-background-plain"] = 'true'; |
|
|
|
@ -203,7 +202,7 @@ class DefaultTheme implements ITheme { |
|
|
|
} |
|
|
|
$variables["--image-$image"] = "url('".$this->imageManager->getImageUrl($image)."')"; |
|
|
|
} |
|
|
|
} |
|
|
|
$variables["--image-login-background"] = $variables["--image-background"]; |
|
|
|
|
|
|
|
if ($hasCustomLogoHeader) { |
|
|
|
$variables["--image-logoheader-custom"] = 'true'; |
|
|
|
|