Welcome Guest, Not a member yet? Register   Sign In
Base Controller Redirect
#1

[eluser]Kyle Ellman[/eluser]
I'm trying to us a base controller (MY_Controller) to check if someone is logged in or not. I want the MY_Controller's constructor to perform a redirect() function, but the code breaks each time. If I place this redirect in the constructor of a normal controller that extends the MY_Controller, it works just fine.

Can anyone tell me how to allow a redirect() in the base controller?


Messages In This Thread
Base Controller Redirect - by El Forum - 04-06-2010, 02:01 PM
Base Controller Redirect - by El Forum - 04-06-2010, 02:55 PM
Base Controller Redirect - by El Forum - 04-06-2010, 03:02 PM
Base Controller Redirect - by El Forum - 04-07-2010, 01:08 AM
Base Controller Redirect - by El Forum - 04-07-2010, 01:37 AM
Base Controller Redirect - by El Forum - 04-07-2010, 06:46 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:38 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:39 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:43 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:46 AM
Base Controller Redirect - by El Forum - 04-07-2010, 07:56 AM
Base Controller Redirect - by El Forum - 04-07-2010, 09:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB