[eluser]InsiteFX[/eluser]
MY_Controller has to be in application/core
Add this to the bottom of application/config/config.php
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.
|
| 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