Show
Ignore:
Timestamp:
03/29/2008 05:50:38 AM (8 months ago)
Author:
Geert
Message:

Added cache.driver_implements error just as is done with all other drivers.
Various other cleanups as well.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Cache.php

    r2374 r2377  
    7676                // Validate the driver 
    7777                if ( ! ($this->driver instanceof Cache_Driver)) 
    78                         throw new Kohana_Exception('cache.driver_not_supported', 'Cache drivers must use the Cache_Driver interface.'); 
     78                        throw new Kohana_Exception('cache.driver_implements', $this->config['driver']); 
    7979 
    8080                Log::add('debug', 'Cache Library initialized');