summaryrefslogtreecommitdiff
path: root/includes/ObjectCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ObjectCache.php')
-rw-r--r--includes/ObjectCache.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/ObjectCache.php b/includes/ObjectCache.php
index a493a75c..3b43dd53 100644
--- a/includes/ObjectCache.php
+++ b/includes/ObjectCache.php
@@ -70,6 +70,8 @@ function &wfGetCache( $inputType ) {
$wgCaches[CACHE_ACCEL] = new eAccelBagOStuff;
} elseif ( function_exists( 'apc_fetch') ) {
$wgCaches[CACHE_ACCEL] = new APCBagOStuff;
+ } elseif( function_exists( 'xcache_get' ) ) {
+ $wgCaches[CACHE_ACCEL] = new XCacheBagOStuff;
} elseif ( function_exists( 'mmcache_get' ) ) {
$wgCaches[CACHE_ACCEL] = new TurckBagOStuff;
} else {