Welcome Guest, Not a member yet? Register   Sign In
MY_Controller problem
#1

[eluser]mcair[/eluser]
I am trying to use the constructor of MY_Controller as a gatekeeper. In a derived controller, I get the following message:

Fatal error: Class 'MY_Controller' not found in C:\LeagueManager\Site\system\application\controllers\leaguedisplay.php on line 3

related classes:

Code:
class MY_Controller extends Controller
{
    
function __construct()
{
    parent::Controller();
    if (!f_IsValidSessionValue('OwnerPublicId'))
        $this->load->view('auth/login_form');
}

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


Messages In This Thread
MY_Controller problem - by El Forum - 11-26-2009, 09:46 AM
MY_Controller problem - by El Forum - 11-26-2009, 10:09 AM
MY_Controller problem - by El Forum - 11-26-2009, 10:15 AM
MY_Controller problem - by El Forum - 11-26-2009, 10:27 AM
MY_Controller problem - by El Forum - 11-26-2009, 10:28 AM
MY_Controller problem - by El Forum - 11-26-2009, 11:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB