Browse Source

?/debug/apc with cache prefixes

pull/40/head
Michael Foster 11 years ago
parent
commit
d234c014f0
  1. 2
      inc/mod/pages.php

2
inc/mod/pages.php

@ -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;
}

Loading…
Cancel
Save