How to get the class from which a request originates in codeigniter
问题 My modules all extend Backend controller which checks if loggedin and redirects appropriately, now I have Class FrontEnd [responsible for pages like login, signup etc] which extends My_Controller. how can I create an exemption for FrontEnd to be able to access the modules since it needs their methods to perform tasks. this is what I have currently .... class Backend_Controller extends MY_Controller { // -------------------------------------------------------------------------- public function