Icons cacher css url fix

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-08-07 10:18:46 +02:00
parent 35342b4b7d
commit 7e6fa90fa1
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}