[eluser]neph[/eluser]
i'm trying to set up some functions that extend the core controller class by using MY_controller.php in the libraries folder for pretty basic stuff like _admin_check(), _logged_in(), and a dynamic CRUD for related modules i've written. i was wondering if there was a better way to go about it that anybody could possibly share. Also i'm trying to figure out a clean way to set up a hierarchical controller configuration for an admin panel such as admin/users, admin/pages, admin/events...etc however creating the file structure of
controllers/admin.php
controllers/admin/users.php
controllers/admin/pages.php
controllers/admin/events.php
i cant seem to get working, with custom routes or stand-alone, and was wondering if anybody could shed some light onto an efficient solution.
any help is greatly appreciated.