summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2016-11-10 16:22:03 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-01-06 09:42:13 +0100
commit35b13b856b5ed2ab2c91a171b7c07b9fe60de721 (patch)
tree1f9154d0cd819b5318f4a45aa39ac7bf8e6acaf4 /lib/private/TemplateLayout.php
parent9a21d988242b8c6463891da7857d6b91caea7a2e (diff)
downloadnextcloud-server-35b13b856b5ed2ab2c91a171b7c07b9fe60de721.tar.gz
nextcloud-server-35b13b856b5ed2ab2c91a171b7c07b9fe60de721.zip
Appdata location fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index 96f612c313c..9711b0ff2f8 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -189,7 +189,9 @@ class TemplateLayout extends \OC_Template {
$theme,
array( \OC::$SERVERROOT => \OC::$WEBROOT ),
array( \OC::$SERVERROOT => \OC::$WEBROOT ),
- \OC::$server->getAppDataDir('server'));
+ \OC::$server->getAppDataDir('css'),
+ \OC::$server->getURLGenerator(),
+ \OC::$server->getSystemConfig());
$locator->find($styles);
return $locator->getResources();
}