summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-08-07 18:23:36 +0200
committerGitHub <noreply@github.com>2018-08-07 18:23:36 +0200
commit5685ed4c7d0115ab7ac9bc6c21b5eff507e84fdf (patch)
treef9cd7441577477082f357b48ebc6a1b976fba861
parentf8de12c0147d7982ce6ff0a4ec67bbb9c546a2aa (diff)
parent7e6fa90fa1be04c83d0d6b72da953011adaac705 (diff)
downloadnextcloud-server-5685ed4c7d0115ab7ac9bc6c21b5eff507e84fdf.tar.gz
nextcloud-server-5685ed4c7d0115ab7ac9bc6c21b5eff507e84fdf.zip
Merge pull request #10567 from nextcloud/icons-cacher-fix
Icons cacher css url fix
-rw-r--r--lib/private/Template/IconsCacher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/IconsCacher.php b/lib/private/Template/IconsCacher.php
index e5ea1b33815..070c7c3da51 100644
--- a/lib/private/Template/IconsCacher.php
+++ b/lib/private/Template/IconsCacher.php
@@ -140,7 +140,7 @@ class IconsCacher {
return;
}
}
- $linkToCSS = substr($this->urlGenerator->linkToRoute('core.Css.getCss', ['appName' => 'icons', 'fileName' => $this->fileName]), strlen(\OC::$WEBROOT));
+ $linkToCSS = $this->urlGenerator->linkToRoute('core.Css.getCss', ['appName' => 'icons', 'fileName' => $this->fileName]);
\OC_Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS], null, true);
}