Show
Ignore:
Timestamp:
01/21/2008 10:33:19 AM (10 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/payment.php

    r1600 r1772  
    33$lang = array 
    44( 
    5         'required' => 'Some required fields were not supplied: %s', 
     5        'driver_not_supported'     => 'The requested Payment driver, %s, was not found.', 
     6        'required'                 => 'Some required fields were not supplied: %s', 
    67        'gateway_connection_error' => 'An error occured connecting to the payment gateway. please contact the webmaster if this problem persists.', 
    7         'invalid_certificate' => 'The certificate file is invalid: %s', 
    8         'no_dlib' => 'Could not load the dynamic library: %s', 
    9         'error' => 'There was an error processing the transaction: %s', 
     8        'invalid_certificate'      => 'The certificate file is invalid: %s', 
     9        'no_dlib'                  => 'Could not load the dynamic library: %s', 
     10        'error'                    => 'There was an error processing the transaction: %s', 
    1011);