diff options
Diffstat (limited to 'lib/private/templatelayout.php')
-rw-r--r-- | lib/private/templatelayout.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index 6f948e38437..3220d9d969c 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -135,7 +135,9 @@ class OC_TemplateLayout extends OC_Template { // Read the selected theme from the config file $theme = OC_Util::getTheme(); - $locator = new \OC\Template\CSSResourceLocator( $theme, + $locator = new \OC\Template\CSSResourceLocator( + OC::$server->getLogger(), + $theme, array( OC::$SERVERROOT => OC::$WEBROOT ), array( OC::$THIRDPARTYROOT => OC::$THIRDPARTYWEBROOT )); $locator->find($styles); @@ -150,7 +152,9 @@ class OC_TemplateLayout extends OC_Template { // Read the selected theme from the config file $theme = OC_Util::getTheme(); - $locator = new \OC\Template\JSResourceLocator( $theme, + $locator = new \OC\Template\JSResourceLocator( + OC::$server->getLogger(), + $theme, array( OC::$SERVERROOT => OC::$WEBROOT ), array( OC::$THIRDPARTYROOT => OC::$THIRDPARTYWEBROOT )); $locator->find($scripts); |