Changeset 2667 for trunk/system/libraries/Database.php
- Timestamp:
- 05/13/2008 02:23:53 AM (6 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Database.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Database.php
r2593 r2667 179 179 // Load the driver 180 180 if ( ! Kohana::auto_load($driver)) 181 throw new Kohana_Database_Exception(' database.driver_not_supported', $this->config['connection']['type']);181 throw new Kohana_Database_Exception('core.driver_not_found', $this->config['connection']['type'], get_class($this)); 182 182 183 183 // Initialize the driver … … 186 186 // Validate the driver 187 187 if ( ! ($this->driver instanceof Database_Driver)) 188 throw new Kohana_Database_Exception(' database.driver_not_supported', 'Database drivers must use the Database_Driver interface.');188 throw new Kohana_Database_Exception('core.driver_implements', $this->config['connection']['type'], get_class($this), 'Database_Driver'); 189 189 190 190 Log::add('debug', 'Database Library initialized');
