From 41f7d890cf7be0d48088536a3268efa8800fcf88 Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Tue, 28 Apr 2015 11:42:33 +0200 Subject: [PATCH] Test using the config in the instance temp folder --- lib/config.php | 5 +++-- 1 file 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 +}