Skip to content

Added multiple sub folder support for controllers.#982

Closed
conradkleinespel wants to merge 4 commits into
bcit-ci:developfrom
conradkleinespel:develop
Closed

Added multiple sub folder support for controllers.#982
conradkleinespel wants to merge 4 commits into
bcit-ci:developfrom
conradkleinespel:develop

Conversation

@conradkleinespel
Copy link
Copy Markdown

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'] in application/config/routes.php to TRUE.

@conradkleinespel
Copy link
Copy Markdown
Author

What do you mean ? This is the first time I make a pull request. Did I do something wrong ?

@dfreerksen
Copy link
Copy Markdown

He's referring to the .gitignore file.

@conradkleinespel
Copy link
Copy Markdown
Author

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.
@officialkirill
Copy link
Copy Markdown

@conradkleinespel
Copy link
Copy Markdown
Author

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 :)

@narfbg
Copy link
Copy Markdown
Contributor

narfbg commented Jan 6, 2014

This is way too old and not that useful anyway.

@narfbg narfbg closed this Jan 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants