mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-19 03:09:55 +09:00
#18910823 캐쉬파일 재생성시 디렉토리 삭제 및 cache truncate 실행
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7485 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fdb236d0d1
commit
19497e2837
11 changed files with 39 additions and 6 deletions
6
classes/cache/CacheHandler.class.php
vendored
6
classes/cache/CacheHandler.class.php
vendored
|
|
@ -19,10 +19,10 @@
|
|||
if(!$info) $info = Context::getDBInfo();
|
||||
if($info){
|
||||
if($target == 'object'){
|
||||
if($info->use_template_cache =='apc') $type = 'apc';
|
||||
else if(substr($info->use_template_cache,0,8)=='memcache'){
|
||||
if($info->use_object_cache =='apc') $type = 'apc';
|
||||
else if(substr($info->use_object_cache,0,8)=='memcache'){
|
||||
$type = 'memcache';
|
||||
$url = $info->use_template_cache;
|
||||
$url = $info->use_object_cache;
|
||||
}
|
||||
}else if($target == 'template'){
|
||||
if($info->use_template_cache =='apc') $type = 'apc';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue