Changeset 2137
- Timestamp:
- 02/22/2008 12:17:19 PM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Cache.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Cache.php
r1911 r2137 24 24 25 25 /** 26 * Returns a singleton instance of Cache. 27 * 28 * @param array configuration 29 * @return object Cache 30 */ 31 public static function instance($config = array()) 32 { 33 static $obj; 34 35 // Create the Cache instance 36 ($obj === NULL) and $obj = new Cache($config); 37 38 return $obj; 39 } 40 41 /** 26 42 * Loads the configured driver and validates it. 27 43 *
