From dec4b26355c74463cfe9fca79af0ed33384fe17d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 9 Jan 2017 16:19:54 +0100 Subject: [PATCH] Fix subdir install style * We need to pass the serverroot so that it can include the right files. Signed-off-by: Roeland Jago Douma --- lib/private/TemplateLayout.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 67ba831dfaf..bc6a485ad43 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -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()); -- 2.39.5