mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 06:52:12 +09:00
r7485 추가, cache_[0-9]+ 삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7489 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
161435c0f2
commit
005213495d
1 changed files with 6 additions and 1 deletions
|
|
@ -43,7 +43,12 @@
|
|||
}
|
||||
|
||||
// remove cache dir
|
||||
FileHandler::removeDir($temp_cache_dir);
|
||||
$tmp_cache_list = FileHandler::readDir('./files','/(^cache_[0-9]+)/');
|
||||
if($tmp_cache_list){
|
||||
foreach($tmp_cache_list as $tmp_dir){
|
||||
if($tmp_dir) FileHandler::removeDir('./files/'.$tmp_dir);
|
||||
}
|
||||
}
|
||||
|
||||
$truncated = array();
|
||||
$oObjectCacheHandler = &CacheHandler::getInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue