]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix subdir install style 2992/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 9 Jan 2017 15:19:54 +0000 (16:19 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 9 Jan 2017 15:19:54 +0000 (16:19 +0100)
* We need to pass the serverroot so that it can include the right files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/TemplateLayout.php

index 67ba831dfafeb03db218d141ef2ac4b3ed949ab8..bc6a485ad4369119711ad83200059082c86e2dd1 100644 (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());