wesmiler il y a 6 ans
Parent
commit
9ac76165be
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      vendor/thinkcmf/cmf-app/src/weixin/model/Stroage.php

+ 2 - 2
vendor/thinkcmf/cmf-app/src/weixin/model/Stroage.php

@@ -296,8 +296,8 @@ class Stroage extends Model
                 $command = "libreoffice6.3 --invisible --convert-to pdf --outdir \"{$path}\" \"{$pathFile}\"";
                 $command = "libreoffice6.3 --invisible --convert-to pdf --outdir \"{$path}\" \"{$pathFile}\"";
                 exec($command);
                 exec($command);
                 break;
                 break;
-            case 'docx':
-                $command = "libreoffice6.3 --invisible --convert-to docx --outdir \"{$path}\" \"{$pathFile}\"";
+            case 'doc':
+                $command = "libreoffice6.3 --invisible --convert-to doc --outdir \"{$path}\" \"{$pathFile}\"";
                 exec($command);
                 exec($command);
                 break;
                 break;
         }
         }