Ver Fonte

wesmiler

wesmiler há 6 anos atrás
pai
commit
9ac76165be
1 ficheiros alterados com 2 adições e 2 exclusões
  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}\"";
                 exec($command);
                 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);
                 break;
         }