Welcome Guest, Not a member yet? Register   Sign In
Extend Custom Controller?
#1

[eluser]RandyCram[/eluser]
I am working on a rather large project and It is going to have admin/moderators/members and what not so I want to create a controller (ex: admin_controller.php) that I can extend to do the checking if person is admin or not. I know that to load controllers you need to autoload them or something like that but i did a require_once in the MY_Controller.php but no matter how i get it to work, the actual controller that does the loading of view's etc.. basically ignores the rules set in the admin_controller.php.

Any thoughts??


Messages In This Thread
Extend Custom Controller? - by El Forum - 10-06-2010, 05:02 AM
Extend Custom Controller? - by El Forum - 10-06-2010, 06:28 AM
Extend Custom Controller? - by El Forum - 10-06-2010, 10:52 PM
Extend Custom Controller? - by El Forum - 10-07-2010, 05:52 AM
Extend Custom Controller? - by El Forum - 10-07-2010, 02:22 PM
Extend Custom Controller? - by El Forum - 10-07-2010, 03:38 PM
Extend Custom Controller? - by El Forum - 10-07-2010, 03:40 PM
Extend Custom Controller? - by El Forum - 10-07-2010, 03:53 PM
Extend Custom Controller? - by El Forum - 10-07-2010, 03:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB