mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
썸네일 생성 오류 수정. 썸네일의 생성 위치를 기존의 첨부파일 위치에서 ./files/cache/thumbnails/문서번호의 위치로 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4339 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2583f3a46e
commit
96b6fb9727
2 changed files with 38 additions and 43 deletions
|
|
@ -383,9 +383,12 @@
|
|||
**/
|
||||
function procDocumentAdminDeleteAllThumbnail() {
|
||||
|
||||
// files/attaches/images/ 디렉토리를 순환하면서 thumbnail_*.jpg 파일을 모두 삭제
|
||||
// files/attaches/images/ 디렉토리를 순환하면서 thumbnail_*.jpg 파일을 모두 삭제 (1.0.4 이전까지)
|
||||
$this->deleteThumbnailFile('./files/attach/images');
|
||||
|
||||
// files/cache/thumbnails 디렉토리 자체를 삭제 (1.0.5 이후 변경된 썸네일 정책)
|
||||
FileHandler::removeFilesInDir('./files/cache/thumbnails');
|
||||
|
||||
$this->setMessage('success_deleted');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue