diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 09:20:55 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 09:20:55 +0100 |
commit | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (patch) | |
tree | 31882fdc36540fecfd62e5011fc38515e504a3db /includes/ObjectCache.php | |
parent | 6ca0c5e0a943b64b4e3d0a11a80c5679f7252e64 (diff) |
Update to MediaWiki 1.17.1
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(); |