Good evening everyone,
I have a problem since a few days.
I would instantiate the Cache class, but I can’t do this with the autoload; I’ve put this configuration file:
$autoload['libraries'] = array('driver', 'acl');
but I can’t use it. In every class or model, I should write this
$this->load->driver('cache', array('adapter' => 'apc', 'backup' => 'file'));
can I use
$this->ci =& get_instance();
like I do with other classes? Because at the moment I can’t do this, even in a personal class, for example.