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/archive.php

    r1297 r1772  
    33$lang = array 
    44( 
    5         'driver_not_supported' => 'The requested Archive driver, %s, is not supported.', 
     5        'driver_not_supported' => 'The requested Archive driver, %s, was not found.', 
    66        'driver_implements'    => 'The requested Archive driver, %s, does not implement Archive_Driver.', 
    77        'directory_unwritable' => 'The directory you requested to save the file in, %s, is unwritable. Please correct the permissions and try again.',