Welcome Guest, Not a member yet? Register   Sign In
MY_Controller
#5

[eluser]Frank Berger[/eluser]
ok, makes more sense now. I had/have the same problem with the phpgACL implementation i posted in the forum here as well. The problem is that the autoload comes too late.

You're right in this case a my_controller with an include is my 'cheap' alternative as well. The only other option you have is to look into the hook functionality. There you can execute commands very early in CI's life-cycle, and within such a function you can include a custom controller class as well (or more than one)

hope that helps

Frank


Messages In This Thread
MY_Controller - by El Forum - 10-19-2008, 05:56 AM
MY_Controller - by El Forum - 10-19-2008, 06:00 AM
MY_Controller - by El Forum - 10-19-2008, 06:36 AM
MY_Controller - by El Forum - 10-19-2008, 06:40 AM
MY_Controller - by El Forum - 10-19-2008, 07:10 AM
MY_Controller - by El Forum - 10-19-2008, 10:42 AM
MY_Controller - by El Forum - 10-19-2008, 03:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB