mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
문서의 썸네일 생성 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4335 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
92d7bea780
commit
379f3f4758
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue