Welcome Guest, Not a member yet? Register   Sign In
/application/core/MY_Controller.php
#1

(This post was last modified: 11-03-2015, 08:00 AM by Rashid.)

Hello, what if I need two (or more) different MY_Controller classes in a core folder? CodeIgniter allows creation only one "extended" version? Sad

I tried
PHP Code:
class MY_AuthController extends CI_Controller
{
    public function 
__construct()
    {
        
parent::__construct();
        
/* ... */        
    
}

but that didn't work (conventional MY_Controller works fine).
Reply


Messages In This Thread
/application/core/MY_Controller.php - by Rashid - 11-03-2015, 07:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB