diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Cache/Cache.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/system/libraries/Cache/Cache.php b/system/libraries/Cache/Cache.php index b56f33e74..676375c37 100644 --- a/system/libraries/Cache/Cache.php +++ b/system/libraries/Cache/Cache.php @@ -253,4 +253,14 @@ class CI_Cache extends CI_Driver_Library { return $support[$driver]; } + + /** + * Get currently loaded driver + * + * @return string + */ + public function get_loaded_driver() + { + return $this->_adapter; + } } |