From df64d96b2d101f11b5035352ffa2f422730d2746 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Mon, 21 Mar 2022 09:32:12 +0800 Subject: [PATCH] fix --- 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 3c95434c..29d77e76 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 = APPPATH . 'mammoth\mammoth '; + $yarnbin = realpath(APPPATH . 'mammoth/mammoth '); $test_host = ''; } $command = $yarnbin . $docx_path . ' --output-dir=' . $img_dir . ' 2>&1';