aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@gmx.de>2015-09-12 22:04:41 +0200
committerFrank Karlitschek <karlitschek@gmx.de>2015-09-12 22:04:41 +0200
commit7562e4959b4726939d78720d26fdbe713c8f5c53 (patch)
tree999024c93f28183409283d51018a3a79b43efa43 /lib/private/server.php
parent9860a79441b8e3595450e53b6209f314c7537775 (diff)
parentc3a327dc385c617bc2daf0b5a51aacfaea2abde1 (diff)
downloadnextcloud-server-7562e4959b4726939d78720d26fdbe713c8f5c53.tar.gz
nextcloud-server-7562e4959b4726939d78720d26fdbe713c8f5c53.zip
Merge pull request #18658 from owncloud/configurable-temp
Configurable temporary directory
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index 59d03c2df97..9657afbdaec 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -356,7 +356,10 @@ class Server extends SimpleContainer implements IServerContainer {
}
});
$this->registerService('TempManager', function (Server $c) {
- return new TempManager(get_temp_dir(), $c->getLogger());
+ return new TempManager(
+ $c->getLogger(),
+ $c->getConfig()
+ );
});
$this->registerService('AppManager', function(Server $c) {
return new \OC\App\AppManager(