Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-05-19 17:11:42 +0300
committerJulius Härtl <jus@bitgrid.net>2017-05-19 17:18:09 +0300
commit52f10c436e98733a552d8e2ab7a03a68653a2215 (patch)
treebf812cfb196c3353f4800307ca04e9ee94a7385d /apps/theming/lib/ThemingDefaults.php
parent70c750dacc5636f81c38878ddaf463ff397a6a66 (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.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())."'";