add shell 3

hotfix/远程访问多媒体中心
LMR 7 years ago
parent dad33d68b8
commit ebb0796c9e

@ -455,7 +455,7 @@ class Info_amp extends CI_Controller
$test_host = '';
}
$command = $yarnbin.$docx_path.' --output-dir='.$img_dir;
exec($command, $rs);
exec($command, $rs, $st);
//图片处理
$scan_img = scandir($img_dir);
$tmp = '';
@ -479,7 +479,7 @@ class Info_amp extends CI_Controller
echo(json_encode(array(
'status' => 'error',
'html' => $command.' > '.$html_parh,
'rs' => print_r($rs, true)
'rs' => print_r($rs, true).' > '.$st
)));
return;
}

Loading…
Cancel
Save