그누보드 5.0.9 패치 적용

This commit is contained in:
chicpro
2014-07-28 11:41:12 +09:00
parent 2579323ddf
commit e84a1c8c98
13 changed files with 30 additions and 22 deletions

View File

@ -1086,6 +1086,9 @@ class UploadHandler
$image_width_height = $this->get_image_size($file_path);
$file->width = $image_width_height[0];
$file->height = $image_width_height[1];
} else { //로빈아빠님이 알려주심, 이미지 업로드 체크
unlink($file_path);
$file->error = $this->get_error_message('accept_file_types');
}
} else {
$file->size = $file_size;