|
@@ -273,7 +273,9 @@ class UploadFile
|
|
|
|
|
|
if(move_uploaded_file($this->upload_file['tmp_name'],BASE_UPLOAD_PATH.DS.$this->save_path.$this->file_name))
|
|
|
{
|
|
|
- //产生缩略图
|
|
|
+ Log::record("UploadFile upfile 12 1",Log::DEBUG);
|
|
|
+
|
|
|
+ //产生缩略图
|
|
|
if ($ifresize){
|
|
|
$resizeImage = new ResizeImage();
|
|
|
$save_path = rtrim(BASE_UPLOAD_PATH.DS.$this->save_path,'/');
|