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:
authorMichael Weimann <mail@michael-weimann.eu>2018-08-28 16:58:27 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 09:37:54 +0300
commitd855c38e078f2cd0bec86d5a20fc2f448799433b (patch)
tree68f4adfc1ff3a97273fbc47e9584d922e70c4b61 /apps/theming/lib/ImageManager.php
parent92049c3ceb4121c6e424e8ba902cc6ebc663c690 (diff)
Moves the logo files to logo
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'apps/theming/lib/ImageManager.php')
-rw-r--r--apps/theming/lib/ImageManager.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/theming/lib/ImageManager.php b/apps/theming/lib/ImageManager.php
index 6a42c22aba5..46598673f14 100644
--- a/apps/theming/lib/ImageManager.php
+++ b/apps/theming/lib/ImageManager.php
@@ -80,12 +80,13 @@ class ImageManager {
}
switch ($key) {
+ case 'logo-blue':
+ // the blue logo is only available as svg
+ return $this->urlGenerator->getAbsoluteURL('svg/core/logo/logo/0082C9') . '?v=' . $cacheBusterCounter;
case 'logo':
case 'logoheader':
case 'favicon':
- return $this->urlGenerator->imagePath('core', 'logo.png') . '?v=' . $cacheBusterCounter;
- case 'logo-blue':
- return $this->urlGenerator->imagePath('core', 'logo-blue.png') . '?v=' . $cacheBusterCounter;
+ return $this->urlGenerator->imagePath('core', 'logo/logo.png') . '?v=' . $cacheBusterCounter;
case 'background':
return $this->urlGenerator->imagePath('core', 'background.png') . '?v=' . $cacheBusterCounter;
}