diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-05-19 17:11:42 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-05-19 17:18:09 +0300 |
commit | 52f10c436e98733a552d8e2ab7a03a68653a2215 (patch) | |
tree | bf812cfb196c3353f4800307ca04e9ee94a7385d /apps/theming/lib/ThemingDefaults.php | |
parent | 70c750dacc5636f81c38878ddaf463ff397a6a66 (diff) |
Scale logo only for custom ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/ThemingDefaults.php')
-rw-r--r-- | apps/theming/lib/ThemingDefaults.php | 2 |
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())."'"; |