diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-06-27 17:02:21 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-06-27 17:02:21 +0200 |
commit | 8add05d668d630e884f202b30811fe8b853097a6 (patch) | |
tree | a27be45b1f035210b2719f9183d286c1213b75f7 /includes/ObjectCache.php | |
parent | 1ad8de4f9a6fa3875722b5f4a42a59d80bd356ac (diff) |
Unterstützung für XCache zurückportiert
Diffstat (limited to 'includes/ObjectCache.php')
-rw-r--r-- | includes/ObjectCache.php | 2 |
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 { |