Added multiple sub folder support for controllers.#982
Added multiple sub folder support for controllers.#982conradkleinespel wants to merge 4 commits into
Conversation
|
What do you mean ? This is the first time I make a pull request. Did I do something wrong ? |
|
He's referring to the .gitignore file. |
|
Messed up the first commit. Should all be fine now. Thanks for pointing this out. |
…turned on by setting $routes[allow_multiple_subfolders] to TRUE in the routes config file.
|
isn't it kinda pointless in light of this much requested feature: http://codeigniter.uservoice.com/forums/40508-codeigniter-reactor/suggestions/1266165-ability-to-create-modules-natively-hmvc-to-facil |
|
I'm just posting a commit that I find useful. The CI team is free to merge or to refuse it. The thread you link to is from 2010. So until these modifications are available, if they are at some point available, I guess at least having the possibility of using multiple sub folders would be good :) |
|
This is way too old and not that useful anyway. |
Controllers can be stored in sub folders so as to allow for better organisation of controller files if needed.
It is optional and set off by default, since not everyone needs this and it could slow down the system.
To switch it on, set
$routes['allow_multiple_subfolders']inapplication/config/routes.phptoTRUE.