@@ -289,6 +289,10 @@ echo $file."\n";
switch($type){
case 'pdf':
$command = "libreoffice6.3 --invisible --convert-to pdf --outdir \"{$path}\" \"{$pathFile}\"";
+ exec($command);
+ break;
+ case 'docx':
+ $command = "libreoffice6.3 --invisible --convert-to docx --outdir \"{$path}\" \"{$pathFile}\"";
// $command = "libreoffice6.3 --invisible --convert-to pdf:writer_pdf_Export --outdir \"{$path}\" \"{$pathFile}\"";
exec($command);
break;