diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-07 10:18:46 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-07 10:18:46 +0200 |
commit | 7e6fa90fa1be04c83d0d6b72da953011adaac705 (patch) | |
tree | 69b4f6ca31f8b8b0550b8430c696c1a7520ef467 /lib/private/Template | |
parent | 35342b4b7d0cb71ac9bccd4d923657184703f314 (diff) | |
download | nextcloud-server-7e6fa90fa1be04c83d0d6b72da953011adaac705.tar.gz nextcloud-server-7e6fa90fa1be04c83d0d6b72da953011adaac705.zip |
Icons cacher css url fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Template')
-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); } |