Test using the config in the instance temp folder

pull/1/head
Olivier Paroz 9 years ago
parent 7bee3b6df0
commit 41f7d890cf

@ -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);
}
}
}

Loading…
Cancel
Save