diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-10-21 00:23:01 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-10-21 00:23:01 +0300 |
commit | 7af37fe9114494a2b07beef28c0a13baec8f6b33 (patch) | |
tree | 1db875e3d1f2d7061d92b3b4b442471667fae8da /lib | |
parent | 5b624b4baa6467a6005d9cbae2a80b1abedb8a5c (diff) |
No more get_temp_dir
Diffstat (limited to 'lib')
-rw-r--r-- | lib/converter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/converter.php b/lib/converter.php index 0ba1a4b1..3d325e3d 100644 --- a/lib/converter.php +++ b/lib/converter.php @@ -91,7 +91,7 @@ class Converter { . escapeshellarg($outdir) . ' --writer '. escapeshellarg($infile) . ' -env:UserInstallation=file://' - . escapeshellarg(get_temp_dir() . '/owncloud-' . \OC_Util::getInstanceId().'/') + . escapeshellarg(\OC::$server->getTempManager()->getTempBaseDir() . '/owncloud-' . \OC_Util::getInstanceId().'/') ; file_put_contents($infile, $input); |