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

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

@ -444,8 +444,8 @@
}
// 문서의 이미지 첨부파일 위치를 구함
$document_path = sprintf('./files/attach/images/%d/%d/',$this->get('module_srl'), $this->get('document_srl'));
if(!is_dir($document_path)) FileHandler::makeDir($document_path);
$document_path = sprintf("./files/attach/images/%s/%s", $this->get('module_srl'), getNumberingPath($this->get('document_srl'),3));
if(!is_dir($document_path)) return;
// 썸네일 임시 파일명을 구함
if($width != $height) $thumbnail_file = sprintf('%sthumbnail_%dx%d_%s.jpg', $document_path, $width, $height, $thumbnail_type);