[eluser]Jamongkad[/eluser]
Hi all!
My problem stems when I extend the Controller class.
//MX_Controller.php before HMVC it was MY_Controller.php
abstract class TemplateController extends Controller {
//...
}
My controllers seem to work well with the current setup. Even right down to the my module controllers. The problem starts when I try to access the DB, CI complains that $db is an undefined property. And that's when I invoke $this->load->database()! Strangely when I revert back to using Controller it works fine. I feel like this is a simple problem to lick but for the moment I'm stumped...