(11-14-2014, 08:52 AM)Chroma Wrote: That is a normal way to do things.
If you use $CI a lot in your Library, then use
PHP Code:
$this->CI->load->library('Flexi_auth_lite’);
and use the same pattern for all the other calls.
Obviously the $CI variable must be a class variable to use $this.
Yes -- I am not sure why it was not like this to start - presumably it was a workaround for something in CI2.0