문서의 썸네일 생성 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4335 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-06-27 12:43:42 +00:00
parent 92d7bea780
commit 379f3f4758
2 changed files with 4 additions and 4 deletions

View file

@ -227,8 +227,8 @@
* @brief 특정 이미지 파일을 특정 위치로 옮김 (옮길때 이미지의 크기를 리사이징할 있음..)
**/
function createImageFile($source_file, $target_file, $resize_width = 0, $resize_height = 0, $target_type = '', $thumbnail_type = 'crop') {
$source_file = FileHandler::getRequestUri($source_file);
$target_file = FileHandler::getRequestUri($target_file);
$source_file = FileHandler::getRealPath($source_file);
$target_file = FileHandler::getRealPath($target_file);
if(!file_exists($source_file)) return;
if(!$resize_width) $resize_width = 100;