Changeset 1772 for trunk/system/libraries/Image.php
- Timestamp:
- 01/21/2008 10:33:19 AM (10 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Image.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Image.php
r1565 r1772 66 66 try 67 67 { 68 // Create the driver classname69 $driver = 'Image_'.ucfirst( $this->config['driver']).'_Driver';68 // Set driver name 69 $driver = 'Image_'.ucfirst(strtolower($this->config['driver'])).'_Driver'; 70 70 71 71 // Manually autoload so that exceptions can be caught … … 74 74 catch (Kohana_Exception $e) 75 75 { 76 // Driver was not found 77 throw new Kohana_Exception('cache.driver_not_supported', $this->config['driver']); 76 throw new Kohana_Exception('image.driver_not_supported', $this->config['driver']); 78 77 } 79 78
