From cb439d4741fb57b35dd4a88a53b6c306bd00323d Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Mon, 21 Mar 2022 09:33:28 +0800 Subject: [PATCH] fix up docx --- application/controllers/info_amp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 29d77e76..c3b40737 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -462,7 +462,7 @@ class Info_amp extends CI_Controller $yarnbin = 'C:\Users\cht77\AppData\Local\Yarn\bin\mammoth '; $test_host = '//202.103.68.62:9096'; } else { - $yarnbin = realpath(APPPATH . 'mammoth/mammoth '); + $yarnbin = realpath(APPPATH . 'mammoth/mammoth') + ' '; $test_host = ''; } $command = $yarnbin . $docx_path . ' --output-dir=' . $img_dir . ' 2>&1';