hotfix/远程访问多媒体中心
LMR 7 years ago
parent a24457a9ed
commit 4edf81e33c

@ -491,6 +491,8 @@ class Info_amp extends CI_Controller
$html = preg_replace('/src="([\d]+).jpeg"/i', 'src="'.$test_host.'/information-view/information/word_source/'.$md5_file.'/$1.jpg"', $html); $html = preg_replace('/src="([\d]+).jpeg"/i', 'src="'.$test_host.'/information-view/information/word_source/'.$md5_file.'/$1.jpg"', $html);
//删除临时html //删除临时html
@unlink($html_parh); @unlink($html_parh);
//删除docx文档
@unlink($docx_path);
if ($html) { if ($html) {
echo(json_encode(array( echo(json_encode(array(
'status' => 'success', 'status' => 'success',

Loading…
Cancel
Save