Welcome Guest, Not a member yet? Register   Sign In
Entire site requires login, needs ACL. Where to put authentication check?
#2

[eluser]Zack K.[/eluser]
Extend CI_Controller by putting a file called MY_Controller.php in application/core/ and putting the following,

Code:
class MY_Controller extends CI_Controller {
function __construct() {
parent::__construct();
//TODO:Put logic here.
}

}

Then in your controllers you would extend MY_Controller instead of CI_Controller.


Messages In This Thread
Entire site requires login, needs ACL. Where to put authentication check? - by El Forum - 10-16-2013, 10:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB