LibreOffice config should be in instance temp folder
Make sure that the LibreOffice configuration folder ends up in the temp folder of the instance
This commit is contained in:
parent
e6449fdf0e
commit
7bee3b6df0
@ -49,7 +49,8 @@ class Converter {
|
|||||||
$params = ' --headless --convert-to ' . $targetFilter . ' --outdir '
|
$params = ' --headless --convert-to ' . $targetFilter . ' --outdir '
|
||||||
. escapeshellarg($outdir)
|
. escapeshellarg($outdir)
|
||||||
. ' --writer '. escapeshellarg($infile)
|
. ' --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);
|
file_put_contents($infile, $input);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user