Prettify upload form for RTL wikis
[lhc/web/wiklou.git] / includes / ObjectCache.php
index a493a75..7d9caf8 100644 (file)
@@ -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 {
@@ -121,4 +123,4 @@ function &wfGetParserCacheStorage() {
        return $ret;
 }
 
-?>
+