1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 10:00:49 +01:00

?/debug/apc with cache prefixes

This commit is contained in:
Michael Foster 2013-09-23 10:41:47 +10:00
parent 04cfeaf01c
commit d234c014f0

View File

@ -2368,6 +2368,8 @@ function mod_debug_apc() {
// $cached_vars = new APCIterator('user', '/^' . $config['cache']['prefix'] . '/');
$cached_vars = array();
foreach ($cache_info['cache_list'] as $var) {
if ($config['cache']['prefix'] != '' && strpos(isset($var['key']) ? $var['key'] : $var['info'], $config['cache']['prefix']) !== 0)
continue;
$cached_vars[] = $var;
}