LibreOffice config should be in instance temp folder

Make sure that the LibreOffice configuration folder ends up in the temp folder of the instance
pull/1/head
Olivier Paroz 9 years ago
parent e6449fdf0e
commit 7bee3b6df0

@ -49,7 +49,8 @@ class Converter {
$params = ' --headless --convert-to ' . $targetFilter . ' --outdir '
. escapeshellarg($outdir)
. ' --writer '. escapeshellarg($infile)
. ' -env:UserInstallation=file://' . escapeshellarg(get_temp_dir())
. ' -env:UserInstallation=file://'
. escapeshellarg(get_temp_dir() . '/owncloud-' . \OC_Util::getInstanceId().'/')
;
file_put_contents($infile, $input);

Loading…
Cancel
Save