Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOlivier Paroz <oparoz@users.noreply.github.com>2015-04-28 12:42:33 +0300
committerOlivier Paroz <oparoz@users.noreply.github.com>2015-04-28 12:42:33 +0300
commit41f7d890cf7be0d48088536a3268efa8800fcf88 (patch)
treeb0ac8304f3f46e2a6edd4c035b0ab195c4fc1378 /lib
parent7bee3b6df02d4350eeaa9d608e6a97741d493731 (diff)
Test using the config in the instance temp folder
Diffstat (limited to 'lib')
-rw-r--r--lib/config.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/config.php b/lib/config.php
index 7879a50c..4d6f182f 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -28,7 +28,8 @@ class Config {
$params = ' --headless --convert-to ' . escapeshellarg($targetFilter) . ' --outdir '
. escapeshellarg($outdir)
. ' --writer '. escapeshellarg($infile)
- . ' -env:UserInstallation=file://' . escapeshellarg(get_temp_dir()) . ' 2>&1'
+ . ' -env:UserInstallation=file://'
+ . escapeshellarg(get_temp_dir() . '/owncloud-' . \OC_Util::getInstanceId().'/') . ' 2>&1'
;
file_put_contents($infile, $input);
@@ -72,4 +73,4 @@ class Config {
return \OCP\Config::setAppValue(self::APP_NAME, $key, $value);
}
-} \ No newline at end of file
+}