diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2018-08-07 18:23:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-07 18:23:36 +0200 |
commit | 5685ed4c7d0115ab7ac9bc6c21b5eff507e84fdf (patch) | |
tree | f9cd7441577477082f357b48ebc6a1b976fba861 | |
parent | f8de12c0147d7982ce6ff0a4ec67bbb9c546a2aa (diff) | |
parent | 7e6fa90fa1be04c83d0d6b72da953011adaac705 (diff) | |
download | nextcloud-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.php | 2 |
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); } |