Welcome Guest, Not a member yet? Register   Sign In
Cannot redeclare class - Controller issues
#1

[eluser]MEM[/eluser]
Code:
class Domains extends MY_Controller {
    
        public function Domains() {
    
        parent::Controller();    
    }


Code:
class MY_Controller extends Controller {
    
        public function __construct()
        {
        parent::Controller();
        }
    }

I get: Cannot redeclare class Domains


I have the exact same structure on my Models, and it works there.


Any clue why this is happening?


Thanks in advance,
MEM


Messages In This Thread
Cannot redeclare class - Controller issues - by El Forum - 10-11-2010, 05:54 AM
Cannot redeclare class - Controller issues - by El Forum - 10-11-2010, 05:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB