wesmiler 6 лет назад
Родитель
Сommit
9ac76165be
1 измененных файлов с 2 добавлено и 2 удалено
  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;
         }