Changeset 1772 for trunk/system/libraries/Cache.php
- Timestamp:
- 01/21/2008 10:33:19 AM (12 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Cache.php
r1695 r1772 36 36 try 37 37 { 38 $driver = 'Cache_'.ucfirst($this->config['driver']).'_Driver'; 38 // Set driver name 39 $driver = 'Cache_'.ucfirst(strtolower($this->config['driver'])).'_Driver'; 39 40 40 41 // Manually autoload so that exceptions can be caught … … 43 44 catch (Kohana_Exception $e) 44 45 { 45 // Driver was not found46 46 throw new Kohana_Exception('cache.driver_not_supported', $this->config['driver']); 47 47 }
