Commit a7642dd1 by 冷斌

fix bug

parent 8397b859
......@@ -144,8 +144,6 @@ class Upload {
}
// 对上传文件数组信息处理
$files = $this->dealFiles($files);
var_dump($files);
die;
foreach ($files as $key => $file) {
$file['name'] = strip_tags($file['name']);
if(!isset($file['key'])) $file['key'] = $key;
......@@ -159,6 +157,8 @@ class Upload {
/* 文件上传检测 */
if (!$this->check($file)){
var_dump(1);
die;
continue;
}
......@@ -179,6 +179,9 @@ class Upload {
}
}
var_dump(2);
die;
/* 生成保存文件名 */
$savename = $this->getSaveName($file);
if(false == $savename){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment