apc_cache_info replaced with apc_sma_info, faster
git-svn-id: http://plugins.svn.wordpress.org/wp-ffpc/trunk@511033 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
127b5fd01c
commit
97aee6df12
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@ function wp_ffpc_init( $wp_ffpc_config ) {
|
|||
/* in case of apc */
|
||||
case 'apc':
|
||||
/* verify apc functions exist, apc ext is loaded */
|
||||
if (!function_exists('apc_cache_info'))
|
||||
if (!function_exists('apc_sma_info'))
|
||||
return false;
|
||||
/* verify apc is working */
|
||||
if ( !apc_cache_info() )
|
||||
if ( !apc_sma_info() )
|
||||
return false;
|
||||
$wp_ffpc_backend_status = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue