Welcome Guest, Not a member yet? Register   Sign In
Problems with creating subfolders in CodeIgniter 3 HMVC
#5

(06-07-2018, 09:41 AM)InsiteFX Wrote: From what I remember is that the way it was designed was that you had a structure like this:

./application
-- modules
-- -- module name
-- -- -- config
-- -- -- controllers (controller name should match module name for default controller - controllers can have sub-folders)
-- -- -- routes
-- -- -- views (views can also have sub folders)

Did you add this to your config.php file?

PHP Code:
$config['modules_locations'] = array(
 
   APPPATH.'modules/' => '../modules/',
); 

That tells it where to find the modules.

Yeas, I have this bit of code in my config files..but its not working
Reply


Messages In This Thread
RE: Problems with creating subfolders in CodeIgniter 3 HMVC - by surma - 06-08-2018, 01:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB