Fix subdir install style

* We need to pass the serverroot so that it can include the right files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2017-01-09 16:19:54 +01:00
parent 6347d97c7f
commit dec4b26355
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 3 additions and 3 deletions

View File

@ -166,9 +166,9 @@ class TemplateLayout extends \OC_Template {
$cssFiles = self::findStylesheetFiles(\OC_Util::$styles);
} else {
$cssFiles = array(
[\OC::$SERVERROOT, '', 'core/css/global.css'],
[\OC::$SERVERROOT, '', 'core/css/fonts.css'],
[\OC::$SERVERROOT, '', 'core/css/installation.css']
[\OC::$SERVERROOT, \OC::$WEBROOT, 'core/css/global.css'],
[\OC::$SERVERROOT, \OC::$WEBROOT, 'core/css/fonts.css'],
[\OC::$SERVERROOT, \OC::$WEBROOT, 'core/css/installation.css']
);
}
$this->assign('cssfiles', array());