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:
dragan-dan 2012-04-11 09:16:37 +00:00
parent 31196ee1ae
commit 45d6f79483
4 changed files with 78 additions and 4 deletions

View file

@ -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){