summaryrefslogtreecommitdiff
path: root/includes/ObjectCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ObjectCache.php')
-rw-r--r--includes/ObjectCache.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/ObjectCache.php b/includes/ObjectCache.php
index f83e0020..db22c074 100644
--- a/includes/ObjectCache.php
+++ b/includes/ObjectCache.php
@@ -1,5 +1,7 @@
<?php
/**
+ * Functions to get cache objects
+ *
* @file
* @ingroup Cache
*/
@@ -66,6 +68,8 @@ function &wfGetCache( $inputType ) {
$wgCaches[CACHE_ACCEL] = new APCBagOStuff;
} elseif( function_exists( 'xcache_get' ) ) {
$wgCaches[CACHE_ACCEL] = new XCacheBagOStuff();
+ } elseif( function_exists( 'wincache_ucache_get' ) ) {
+ $wgCaches[CACHE_ACCEL] = new WinCacheBagOStuff();
} else {
$wgCaches[CACHE_ACCEL] = false;
}