Show
Ignore:
Timestamp:
01/21/2008 10:33:19 AM (12 months ago)
Author:
Geert
Message:

Kohana::auto_load() now throws an exception if the needed file does not exist.

This fixes proper exception handling on all the driver based libraries: Archive, Cache, Database, Image, Payment and Session.
See for example: http://trac.kohanaphp.com/browser/trunk/system/libraries/Session.php?rev=1745#L63

Also changed code and lang files to be more consistent.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/i18n/en_US/database.php

    r1522 r1772  
    66        'error'                 => 'There was an SQL error: %s', 
    77        'connection'            => 'There was an error connecting to the database: %s', 
    8         'driver_not_supported'  => 'The %s database driver does not exist.', 
     8        'driver_not_supported'  => 'The requested Database driver, %s, was not found.', 
    99        'invalid_dsn'           => 'The DSN you supplied is not valid: %s', 
    1010        'must_use_set'          => 'You must set a SET clause for your query.',