mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
글을 수정하거나 삭제시에 썸네일 디렉토리를 제거하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4372 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
60f8e724b9
commit
943b242827
2 changed files with 9 additions and 7 deletions
|
|
@ -265,6 +265,9 @@
|
|||
// commit
|
||||
$oDB->commit();
|
||||
|
||||
// 썸네일 파일 제거
|
||||
FileHandler::removeDir(sprintf('files/cache/thumbnails/%s',getNumberingPath($obj->document_srl, 3)));
|
||||
|
||||
$output->add('document_srl',$obj->document_srl);
|
||||
return $output;
|
||||
}
|
||||
|
|
@ -316,6 +319,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
// 썸네일 파일 제거
|
||||
FileHandler::removeDir(sprintf('files/cache/thumbnails/%s',getNumberingPath($document_srl, 3)));
|
||||
|
||||
// commit
|
||||
$oDB->commit();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue