|
@@ -89,7 +89,7 @@ discard block |
|
|
block discarded – undo |
|
89
|
89
|
$colorBoxShadow = $this->util->darken($colorMainBackground, 70); |
|
90
|
90
|
$colorBoxShadowRGB = join(',', $this->util->hexToRGB($colorBoxShadow)); |
|
91
|
91
|
|
|
92
|
|
- $hasCustomLogoHeader = $this->imageManager->hasImage('logo') || $this->imageManager->hasImage('logoheader'); |
|
|
92
|
+ $hasCustomLogoHeader = $this->imageManager->hasImage('logo') || $this->imageManager->hasImage('logoheader'); |
|
93
|
93
|
|
|
94
|
94
|
$variables = [ |
|
95
|
95
|
'--color-main-background' => $colorMainBackground, |
|
@@ -186,7 +186,7 @@ discard block |
|
|
block discarded – undo |
|
186
|
186
|
|
|
187
|
187
|
// Register image variables only if custom-defined |
|
188
|
188
|
$backgroundDeleted = $this->config->getAppValue('theming', 'backgroundMime', '') === 'backgroundColor'; |
|
189
|
|
- foreach(['logo', 'logoheader', 'favicon', 'background'] as $image) { |
|
|
189
|
+ foreach (['logo', 'logoheader', 'favicon', 'background'] as $image) { |
|
190
|
190
|
if ($this->imageManager->hasImage($image)) { |
|
191
|
191
|
// If primary as background has been request, let's not define the background image |
|
192
|
192
|
if ($image === 'background' && $backgroundDeleted) { |
Please login to merge, or discard this patch.