Welcome Guest, Not a member yet? Register   Sign In
Extending CI_Controller is not working
#6

[eluser]InsiteFX[/eluser]
You need to add this!
Code:
/*
| -------------------------------------------------------------------
|  Native Autoload - by Phil Sturgeon.
| -------------------------------------------------------------------
|
| Nothing to do with config/autoload.php, this allows PHP autoload to work
| for base controllers and some third-party libraries.
|
| If using HMVC you do not need this! HMVC will autoload.
|
| Place this code at the bottom of your application/config/config.php file.
*/
function __autoload($class)
{
    if (strpos($class, 'CI_') !== 0)
    {
        @include_once(APPPATH . 'core/' . $class . EXT);
    }
}

InsiteFX


Messages In This Thread
Extending CI_Controller is not working - by El Forum - 02-27-2011, 10:00 AM
Extending CI_Controller is not working - by El Forum - 02-27-2011, 12:32 PM
Extending CI_Controller is not working - by El Forum - 02-27-2011, 02:03 PM
Extending CI_Controller is not working - by El Forum - 02-27-2011, 03:41 PM
Extending CI_Controller is not working - by El Forum - 04-19-2011, 09:05 PM
Extending CI_Controller is not working - by El Forum - 04-19-2011, 09:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB