diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
commit | 9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch) | |
tree | 46d1a0dee7febef5c2d57a9f7b972be16a163b3d /includes/ObjectCache.php | |
parent | 78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff) |
update to MediaWiki 1.17.0
Diffstat (limited to 'includes/ObjectCache.php')
-rw-r--r-- | includes/ObjectCache.php | 4 |
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; } |