Welcome Guest, Not a member yet? Register   Sign In
Auto load cache driver with parameters

I know I can load a particular caching driver in a controller with options as second parameters:
$this->load->driver('cache', array('adapter' => 'apc', 'backup' => 'file'));

I wonder if is there any way to auto load the same using autoload.php under application/config as I can specify
$autoload['drivers'] = array('cache');

but unable to pass parameters here. So my question is how can I autoload caching driver with specifying some parameters along with?

answered in your other thread...

Theme © iAndrew 2016 - Forum software by © MyBB