summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-05-19 16:11:42 +0200
committerJulius Härtl <jus@bitgrid.net>2017-05-19 16:18:09 +0200
commit52f10c436e98733a552d8e2ab7a03a68653a2215 (patch)
treebf812cfb196c3353f4800307ca04e9ee94a7385d /apps/theming/lib
parent70c750dacc5636f81c38878ddaf463ff397a6a66 (diff)
downloadnextcloud-server-52f10c436e98733a552d8e2ab7a03a68653a2215.tar.gz
nextcloud-server-52f10c436e98733a552d8e2ab7a03a68653a2215.zip
Scale logo only for custom ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/ThemingDefaults.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 0824a36ccdc..2b3be1e6413 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -192,6 +192,8 @@ class ThemingDefaults extends \OC_Defaults {
$variables = [
'theming-cachebuster' => "'" . $this->config->getAppValue('theming', 'cachebuster', '0') . "'",
+ 'theming-logo-mime' => "'" . $this->config->getAppValue('theming', 'logoMime', '') . "'",
+ 'theming-background-mime' => "'" . $this->config->getAppValue('theming', 'backgroundMime', '') . "'"
];
$variables['image-logo'] = "'".$this->urlGenerator->getAbsoluteURL($this->getLogo())."'";