summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/Cache.php
diff options
context:
space:
mode:
authorMike Davies <mike@gigasports.com>2012-02-29 23:52:36 +0100
committerMike Davies <mike@gigasports.com>2012-02-29 23:53:50 +0100
commit03a57655f3cdc6c0b9f717f4466a4547247729d3 (patch)
treeec396b0c95176689dcf118055fabbf8f89492fe0 /system/libraries/Cache/Cache.php
parent5148029aaf204fb3e7e4f24a794bee781d0c218b (diff)
Added support for Wincache when running CI on Windows boxes
Wincache is directly analogous to APC, except with less problems on a Windows environment. Performance wise they are almost identical (for user mode caching at least). Need to have the Wincache PHP module downloaded from http://www.iis.net/download/wincacheforphp.
Diffstat (limited to 'system/libraries/Cache/Cache.php')
-rw-r--r--system/libraries/Cache/Cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/Cache.php b/system/libraries/Cache/Cache.php
index 2e78a6660..e9cc1101c 100644
--- a/system/libraries/Cache/Cache.php
+++ b/system/libraries/Cache/Cache.php
@@ -39,7 +39,7 @@
class CI_Cache extends CI_Driver_Library {
protected $valid_drivers = array(
- 'cache_apc', 'cache_file', 'cache_memcached', 'cache_dummy'
+ 'cache_apc', 'cache_file', 'cache_memcached', 'cache_dummy', 'cache_wincache'
);
protected $_cache_path = NULL; // Path of cache files (if file-based cache)