[eluser]nevsie[/eluser]
I am able to do it using the following:
libraries/MY_Controller.php
Code:
<?php if (!defined('BASEPATH')) exit('No direct access allowed.');
class Public_Controller extends Controller {
function Public_Controller() {
parent::Controller();
$this->output->enable_profiler(TRUE);
}
}
controllers/home.php
Code:
<?php
class Home extends Public_Controller {
function Home()
{
parent::Public_Controller();
}
function index()
{
$this->load->view('home');
}
}
?>
i wonder if your having either a case issues MY_Controller Vs my_controller (i noticed in one of your errors)
or
if you are causing confusion by using the My_Controller where i am using Public_Controller as the MY_ is setup in config as a prefix special for extending native libraries... Rather than class name... Maybe... Note this is a guess as i am a newbie and still learning.