diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index a82867ba..7fe8ca5f 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -455,7 +455,7 @@ class Info_amp extends CI_Controller $test_host = ''; } $command = $yarnbin.$docx_path.' --output-dir='.$img_dir; - $rs = shell_exec($command); + exec($command, $rs); //图片处理 $scan_img = scandir($img_dir); $tmp = '';