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 +}