diff options
author | Frank Karlitschek <karlitschek@gmx.de> | 2015-09-12 22:04:41 +0200 |
---|---|---|
committer | Frank Karlitschek <karlitschek@gmx.de> | 2015-09-12 22:04:41 +0200 |
commit | 7562e4959b4726939d78720d26fdbe713c8f5c53 (patch) | |
tree | 999024c93f28183409283d51018a3a79b43efa43 /lib/private/server.php | |
parent | 9860a79441b8e3595450e53b6209f314c7537775 (diff) | |
parent | c3a327dc385c617bc2daf0b5a51aacfaea2abde1 (diff) | |
download | nextcloud-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.php | 5 |
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( |