mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-13 15:32:15 +09:00
#238 썸네일 경로 변경.
This commit is contained in:
parent
194ce8614a
commit
e42cb2f26e
5 changed files with 8 additions and 8 deletions
|
|
@ -532,7 +532,7 @@ class documentController extends document
|
|||
// commit
|
||||
$oDB->commit();
|
||||
// Remove the thumbnail file
|
||||
FileHandler::removeDir(sprintf('files/cache/thumbnails/%s',getNumberingPath($obj->document_srl, 3)));
|
||||
FileHandler::removeDir(sprintf('files/thumbnails/%s',getNumberingPath($obj->document_srl, 3)));
|
||||
|
||||
$output->add('document_srl',$obj->document_srl);
|
||||
//remove from cache
|
||||
|
|
@ -625,7 +625,7 @@ class documentController extends document
|
|||
$this->_deleteDocumentVotedLog($args);
|
||||
|
||||
// Remove the thumbnail file
|
||||
FileHandler::removeDir(sprintf('files/cache/thumbnails/%s',getNumberingPath($document_srl, 3)));
|
||||
FileHandler::removeDir(sprintf('files/thumbnails/%s',getNumberingPath($document_srl, 3)));
|
||||
|
||||
// commit
|
||||
$oDB->commit();
|
||||
|
|
@ -757,7 +757,7 @@ class documentController extends document
|
|||
if($oDocument->get('category_srl')) $this->updateCategoryCount($oDocument->get('module_srl'),$oDocument->get('category_srl'));
|
||||
|
||||
// remove thumbnails
|
||||
FileHandler::removeDir(sprintf('files/cache/thumbnails/%s',getNumberingPath($obj->document_srl, 3)));
|
||||
FileHandler::removeDir(sprintf('files/thumbnails/%s',getNumberingPath($obj->document_srl, 3)));
|
||||
// Set the attachment to be invalid state
|
||||
if($oDocument->hasUploadedFiles())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue