Browse Source
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>
pull/2992/head
Roeland Jago Douma
9 years ago
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with
3 additions and
3 deletions
-
lib/private/TemplateLayout.php
|
@ -166,9 +166,9 @@ class TemplateLayout extends \OC_Template { |
|
|
$cssFiles = self::findStylesheetFiles(\OC_Util::$styles); |
|
|
$cssFiles = self::findStylesheetFiles(\OC_Util::$styles); |
|
|
} else { |
|
|
} else { |
|
|
$cssFiles = array( |
|
|
$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()); |
|
|
$this->assign('cssfiles', array()); |
|
|