diff options
author | Roger Herbert <rogerlherbert@gmail.com> | 2012-03-14 09:37:06 +0100 |
---|---|---|
committer | Roger Herbert <rogerlherbert@gmail.com> | 2012-03-14 09:37:06 +0100 |
commit | a5c8a6d0fb7802aaf284b7b3ef77966f43baae56 (patch) | |
tree | 12163c9d08070e73b025dd0a6fc602bccc606e90 /system/libraries/Cache/Cache.php | |
parent | b81f909f8aaa3bedc3820c0d4c9056b57113b46e (diff) | |
parent | ce707b4cafd64b95031690cf927584b1d60c7ad7 (diff) |
timespan() helper change
Diffstat (limited to 'system/libraries/Cache/Cache.php')
-rw-r--r-- | system/libraries/Cache/Cache.php | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/system/libraries/Cache/Cache.php b/system/libraries/Cache/Cache.php index 60998e3b8..7642a5270 100644 --- a/system/libraries/Cache/Cache.php +++ b/system/libraries/Cache/Cache.php @@ -39,20 +39,17 @@ class CI_Cache extends CI_Driver_Library { protected $valid_drivers = array( - 'cache_apc', 'cache_file', 'cache_memcached', 'cache_dummy' - ); - - protected $_cache_path = NULL; // Path of cache files (if file-based cache) - protected $_adapter = 'dummy'; + 'cache_apc', + 'cache_file', + 'cache_memcached', + 'cache_dummy', + 'cache_wincache' + ); + + protected $_cache_path = NULL; // Path of cache files (if file-based cache) + protected $_adapter = 'dummy'; protected $_backup_driver; - // ------------------------------------------------------------------------ - - /** - * Constructor - * - * @param array - */ public function __construct($config = array()) { if ( ! empty($config)) |