diff --git a/system/cache.php b/system/cache.php index 75ee4fe0..d5998bb0 100644 --- a/system/cache.php +++ b/system/cache.php @@ -40,6 +40,8 @@ public static function driver($driver = null) throw new \Exception("Cache driver [$driver] is not supported."); } } + + return static::$drivers[$driver]; } /**