diff options
Diffstat (limited to 'includes/ObjectCache.php')
-rw-r--r-- | includes/ObjectCache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ObjectCache.php b/includes/ObjectCache.php index db22c074..05ae9c9c 100644 --- a/includes/ObjectCache.php +++ b/includes/ObjectCache.php @@ -66,7 +66,7 @@ function &wfGetCache( $inputType ) { $wgCaches[CACHE_ACCEL] = new eAccelBagOStuff; } elseif ( function_exists( 'apc_fetch') ) { $wgCaches[CACHE_ACCEL] = new APCBagOStuff; - } elseif( function_exists( 'xcache_get' ) ) { + } elseif( function_exists( 'xcache_get' ) && wfIniGetBool( 'xcache.var_size' ) ) { $wgCaches[CACHE_ACCEL] = new XCacheBagOStuff(); } elseif( function_exists( 'wincache_ucache_get' ) ) { $wgCaches[CACHE_ACCEL] = new WinCacheBagOStuff(); |