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

I know I can load a particular caching driver in a controller with options as second parameters:
Code:
$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
Code:
$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?
Reply
#2

answered in your other thread...
Reply




Theme © iAndrew 2016 - Forum software by © MyBB