summaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-03-10 20:00:34 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-10 20:00:34 +0100
commitf86b5c2ebba9aaa76bbcc1dfc660f430b246d1a4 (patch)
tree416d5dbad85bc13a60d2951943fa4d1fcc026248 /lib/private/TemplateLayout.php
parentf7ebf1d47d40f42f22356e04c53d08a350aaf2cd (diff)
downloadnextcloud-server-f86b5c2ebba9aaa76bbcc1dfc660f430b246d1a4.tar.gz
nextcloud-server-f86b5c2ebba9aaa76bbcc1dfc660f430b246d1a4.zip
Properly calculate webdir using the serverroot
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r--lib/private/TemplateLayout.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index ccd53c9cafa..680bfbbfec1 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -216,7 +216,8 @@ class TemplateLayout extends \OC_Template {
\OC::$server->getLogger(),
\OC::$server->getAppDataDir('css'),
\OC::$server->getURLGenerator(),
- \OC::$server->getSystemConfig()
+ \OC::$server->getSystemConfig(),
+ \OC::$SERVERROOT
);
} else {
$SCSSCacher = null;