去除重复构建

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

@ -371,8 +371,10 @@ class Info_amp extends CI_Controller
))); )));
return; return;
} }
$usr = $this->input->post('usr');
$icid = $this->input->post('icid');
//转移文件 //转移文件
$md5_file = md5($file['name'].$file['size']); $md5_file = md5($usr.$icid.$file['name']);
//ext //ext
$ext = mb_strtolower(strrchr($file["name"],'.')); $ext = mb_strtolower(strrchr($file["name"],'.'));
if ($ext != '.jpg') { if ($ext != '.jpg') {
@ -423,8 +425,10 @@ class Info_amp extends CI_Controller
))); )));
return; return;
} }
$usr = $this->input->post('usr');
$icid = $this->input->post('icid');
//转移文件 //转移文件
$md5_file = md5($file['name'].$file['size']); $md5_file = md5($usr.$icid.$file['name']);
//ext //ext
$ext = mb_strtolower(strrchr($file["name"],'.')); $ext = mb_strtolower(strrchr($file["name"],'.'));
if ($ext != '.docx') { if ($ext != '.docx') {

Loading…
Cancel
Save