mirror of https://gitee.com/karson/fastadmin.git
update application/common/library/Upload.php.
上传失败,无法删除合并的分块文件 Signed-off-by: 渲染 <pay@ktwap.net>pull/458/head
parent
c8404c7096
commit
7d6d3a2733
|
|
@ -305,7 +305,7 @@ class Upload
|
|||
|
||||
$attachment = $this->upload();
|
||||
} catch (\Exception $e) {
|
||||
@unlink($destFile);
|
||||
is_file($uploadPath) && @unlink($uploadPath);
|
||||
throw new UploadException($e->getMessage());
|
||||
}
|
||||
return $attachment;
|
||||
|
|
|
|||
Loading…
Reference in New Issue