[eluser]phused[/eluser]
I have a CI application running with HMVC (Modular Extensions). I'm trying to extend the controller class to verify some user details before loading the controller. However, for some reason I cannot figure out why this extended class isn't loading.
I have the following code:
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MX_Controller extends Controller
{
function __construct()
{
parent::Controller();
echo 'Loading MX_Controller';
}
}
/application/libraries/MX_Controller.php
Code:
<?php
class Workspaces extends MX_Controller {
function __construct()
{
parent::Controller();
/application/modules/app/controllers/workspaces.php
Any idea why this could be occurring/not working?