summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-26 19:08:45 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-02 13:05:58 +0100
commit106af0435551be896f49b295ee19021ae8dd8565 (patch)
tree046a0cfdaec19a1809563468fc35ea387e7a64ca /apps
parentcee941a6a32a9b04b46b1425abe5a1a79dc259a8 (diff)
downloadnextcloud-server-106af0435551be896f49b295ee19021ae8dd8565.tar.gz
nextcloud-server-106af0435551be896f49b295ee19021ae8dd8565.zip
Do not rewrite absolute URLs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/lib/ThemingDefaults.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 9dcc981817e..94abb4e288a 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -242,8 +242,8 @@ class ThemingDefaults extends \OC_Defaults {
'theming-background-mime' => "'" . $this->config->getAppValue('theming', 'backgroundMime', '') . "'"
];
- $variables['image-logo'] = "'".$this->urlGenerator->getAbsoluteURL($this->getLogo())."'";
- $variables['image-login-background'] = "'".$this->urlGenerator->getAbsoluteURL($this->getBackground())."'";
+ $variables['image-logo'] = "'".$this->getLogo()."'";
+ $variables['image-login-background'] = "'".$this->getBackground()."'";
$variables['image-login-plain'] = 'false';
if ($this->config->getAppValue('theming', 'color', null) !== null) {