mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
fix 섬네일생성 예외 처리 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6042 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6c1310e115
commit
b284783566
1 changed files with 3 additions and 2 deletions
|
|
@ -542,8 +542,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($source_file){
|
||||||
$output = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type);
|
$output = FileHandler::createImageFile($source_file, $thumbnail_file, $width, $height, 'jpg', $thumbnail_type);
|
||||||
|
}
|
||||||
if($is_tmp_file) FileHandler::removeFile($source_file);
|
if($is_tmp_file) FileHandler::removeFile($source_file);
|
||||||
|
|
||||||
// 썸네일 생성 성공시 경로 return
|
// 썸네일 생성 성공시 경로 return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue