fix 섬네일생성 예외 처리 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6042 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-04-07 07:44:11 +00:00
parent 6c1310e115
commit b284783566

View file

@ -542,8 +542,9 @@
}
}
$output = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type);
if($source_file){
$output = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type);
}
if($is_tmp_file) FileHandler::removeFile($source_file);
// 썸네일 생성 성공시 경로 return