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';