• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HMVC and MY_Controller methods?

#1
[eluser]Steve Goodwin[/eluser]
So I've just started using Modular Extension's and it seems the way to go since i want a separated admin and public area's. I was using Phil Sturgeons method of the autoload hack in my codeigniter config file.

This meant i was then able to created a MY_Controller and then have an additional Public_Controller and Admin_Controller. This worked fine until I stumbled upon the HMVC plugin!

Now with the autoload function in the config i see it cannot find the MX_Controller it needs to load, with it off I cannot secure all of my admin controllers, am i missing something or is there a better way to secure an admin area and its controllers using HMVC?

My folder structure is as follows for HMVC:

Modules
- Admin
-- Controllers
--- Admin.php
--- Dashboard.php
-- Views
--- Login.php
--- Dashboard.php

#2
[eluser]InsiteFX[/eluser]
Take it out, HMVC doe's it's own autoloading


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.