Welcome Guest, Not a member yet? Register   Sign In
Use function in multiple controllers
#3

[eluser]jj135[/eluser]
Thanks! I tried that. I seems to be working fot one of my function (logout). But not for another function:

"Using $this when not in object context"

What does that mean? I use this:
if ($this->session->userdata('logged_in') == FALSE) { redirect('/');}


Messages In This Thread
Use function in multiple controllers - by El Forum - 01-11-2010, 10:44 AM
Use function in multiple controllers - by El Forum - 01-11-2010, 10:49 AM
Use function in multiple controllers - by El Forum - 01-11-2010, 11:13 AM
Use function in multiple controllers - by El Forum - 01-11-2010, 11:29 AM
Use function in multiple controllers - by El Forum - 01-11-2010, 11:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB