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:
cadeyrn 2012-02-27 09:34:49 +00:00
parent 127b5fd01c
commit 97aee6df12

View file

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