mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Issue 1881: Support for Wincache
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10552 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
31196ee1ae
commit
45d6f79483
4 changed files with 78 additions and 4 deletions
4
classes/cache/CacheHandler.class.php
vendored
4
classes/cache/CacheHandler.class.php
vendored
|
|
@ -25,13 +25,13 @@ class CacheHandler extends Handler {
|
|||
else if(substr($info->use_object_cache,0,8)=='memcache'){
|
||||
$type = 'memcache';
|
||||
$url = $info->use_object_cache;
|
||||
}
|
||||
} else if($info->use_object_cache == 'wincache') $type = 'wincache';
|
||||
}else if($target == 'template'){
|
||||
if($info->use_template_cache =='apc') $type = 'apc';
|
||||
else if(substr($info->use_template_cache,0,8)=='memcache'){
|
||||
$type = 'memcache';
|
||||
$url = $info->use_template_cache;
|
||||
}
|
||||
} else if($info->use_template_cache == 'wincache') $type = 'wincache';
|
||||
}
|
||||
|
||||
if($type){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue