Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
$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');
}
}
$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();
}