Commit c89b282e by 冷斌

fix bug

parent ab3936a6
......@@ -204,12 +204,12 @@ class Upload {
/* 保存文件 并记录保存成功的文件 */
if ($this->uploader->save($file,$this->replace)) {
unset($file['error'], $file['tmp_name']);
// unset($file['error'], $file['tmp_name']);
$info[$key] = $file;
} else {
$this->error = $this->uploader->getError();
}
var_dump($file, $this->uploader->getError() );
var_dump($file, $file,$this->replace, $this->uploader->getError() );
die;
}
if(isset($finfo)){
......
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