Welcome Guest, Not a member yet? Register   Sign In
One if statement to rule them all
#6

[eluser]ggoforth[/eluser]
You could also do it with hooks. I am currently using a hook to check the status of a session var, and redirecting to login if not logged in. Works well. I do like (and probably would have used) MY_controller if I had it to do over again, as it's a bit more flexible, but it's working now, so it's all good.

Greg


Messages In This Thread
One if statement to rule them all - by El Forum - 09-08-2009, 06:36 PM
One if statement to rule them all - by El Forum - 09-08-2009, 07:43 PM
One if statement to rule them all - by El Forum - 09-08-2009, 07:50 PM
One if statement to rule them all - by El Forum - 09-08-2009, 08:08 PM
One if statement to rule them all - by El Forum - 09-08-2009, 08:15 PM
One if statement to rule them all - by El Forum - 09-09-2009, 12:10 AM
One if statement to rule them all - by El Forum - 09-09-2009, 01:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB