summaryrefslogtreecommitdiffstats
path: root/lib/private/Template
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-07 10:18:46 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-07 10:18:46 +0200
commit7e6fa90fa1be04c83d0d6b72da953011adaac705 (patch)
tree69b4f6ca31f8b8b0550b8430c696c1a7520ef467 /lib/private/Template
parent35342b4b7d0cb71ac9bccd4d923657184703f314 (diff)
downloadnextcloud-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.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);
}