Welcome Guest, Not a member yet? Register   Sign In
Help adding CI3 compatibility to Flexi Auth
#7

(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
Reply


Messages In This Thread
RE: Help adding CI3 compatibility to Flexi Auth - by mrtomtom - 11-14-2014, 03:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB