2
0
forked from Wavyzz/dolibarr

NEW Can choose the zip handler to build ODT

This commit is contained in:
Laurent Destailleur
2024-10-16 20:46:52 +02:00
parent 495a31c8fe
commit 82f65a6410
24 changed files with 33 additions and 33 deletions

View File

@@ -356,7 +356,7 @@ class doc_generic_contract_odt extends ModelePDFContract
$srctemplatepath,
array(
'PATH_TO_TMP' => $conf->contrat->dir_temp,
'ZIP_PROXY' => 'PclZipProxy', // PhpZipProxy or PclZipProxy. Got "bad compression method" error when using PhpZipProxy.
'ZIP_PROXY' => getDolGlobalString('MAIN_ODF_ZIP_PROXY', 'PclZipProxy'), // PhpZipProxy or PclZipProxy. Got "bad compression method" error when using PhpZipProxy.
'DELIMITER_LEFT' => '{',
'DELIMITER_RIGHT' => '}'
)