Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]Unknown[/eluser]


[quote author="haseydesign" date="1357181288"]



@Drumm

I'm guessing you may have solved this by now, but anyhow.
The problem you were getting is most likely that you hadn't defined the global '$this->auth' object prior to loading the library.

Code:
$this->auth = new stdClass;
$this->load->library('flexi_auth_lite', FALSE, 'flexi_auth');


[/quote]

Hello and thank you very much for this plugin Smile ! I have experienced same error message and added that "$this->auth = new stdClass;" line . (it fixed) . So, two questions i have :

1-) What's the meaning of this line $this->auth = new stdClass;
2-) It's not written on documentation. In documentation only thing to load library is $this->load->blabla. Why it is not in documentation ?

Thanks again and again and again Smile


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 11-29-2013, 05:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB