aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/private/Template/SCSSCacher.php4
-rw-r--r--lib/private/TemplateLayout.php4
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index 502088f1688..800b6b18bac 100755
--- a/lib/private/Template/SCSSCacher.php
+++ b/lib/private/Template/SCSSCacher.php
@@ -72,10 +72,10 @@ class SCSSCacher {
$this->rootCssLoc = implode('/', $this->rootCssLoc);
try {
- $this->folder = $this->appData->getFolder('css');
+ $this->folder = $this->appData->getFolder('core');
} catch(NotFoundException $e) {
// creating css appdata folder
- $this->folder = $this->appData->newFolder('css');
+ $this->folder = $this->appData->newFolder('core');
}
}
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();
}