[eluser]whygod[/eluser]
Questions regarding HMVC
What is the purpose of this in the application/config.php?
Code:
$config['modules_locations'] = array(
APPPATH.'modules/' => '../modules/',
);
Is defining these codes in the application/config/route.php necessary?
Code:
$route['module_name'] = 'controller_name';
What is the difference versus this codes below in the applicaton/config/route.php,
Code:
$route['default_controller'] = "tasks";
I also noticed the form_validation class it need to be tweak too,
Can someone show me a sample demonstration on how to use this properly.
Code:
class Xyz extends MX_Controller
{
function __construct()
{
parent::__construct();
$this->load->library('form_validation');
$this->form_validation->CI =& $this;
}
}
Can someone please help me understand the above questions, please...