From a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 09:20:55 +0100 Subject: Update to MediaWiki 1.17.1 --- includes/ObjectCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/ObjectCache.php') 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(); -- cgit v1.2.3-54-g00ecf