summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 70c16dd41a4..392b2b17b9c 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -261,7 +261,8 @@ class Server extends ServerContainer implements IServerContainer {
return new \OC\L10N\Factory(
$c->getConfig(),
$c->getRequest(),
- $c->getUserSession()
+ $c->getUserSession(),
+ \OC::$SERVERROOT
);
});
$this->registerService('URLGenerator', function (Server $c) {
@@ -463,7 +464,8 @@ class Server extends ServerContainer implements IServerContainer {
new AppLocator(),
$config,
$c->getMemCacheFactory(),
- $appManager
+ $appManager,
+ $c->getTempManager()
);
});
$this->registerService('Request', function ($c) {