|
@@ -265,6 +265,8 @@ class UploadFile
|
|
|
die();
|
|
|
}
|
|
|
if ($this->error != '') return false;
|
|
|
+
|
|
|
+ Log::record("UploadFile upfile 12",Log::DEBUG);
|
|
|
if(move_uploaded_file($this->upload_file['tmp_name'],BASE_UPLOAD_PATH.DS.$this->save_path.DS.$this->file_name)){
|
|
|
//产生缩略图
|
|
|
if ($ifresize){
|
|
@@ -279,7 +281,7 @@ class UploadFile
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- Log::record("UploadFile upfile 12",Log::DEBUG);
|
|
|
+ Log::record("UploadFile upfile 13",Log::DEBUG);
|
|
|
|
|
|
//删除原图
|
|
|
if ($this->ifremove && is_file(BASE_UPLOAD_PATH.DS.$this->save_path.DS.$this->file_name)) {
|