Multiple applications on single CI install |
[eluser]Unknown[/eluser]
I've been fiddling around with the idea of setting up a site with multiple apps. I.e., I'd have a 'Main' app, a 'blog' app, 'forum', and so on. Each app would have its own controllers, models, and libraries, as well as access to global libraries & models directories. Directory structure is currently like this: Code: root Now, everything is setup this way and works fine, except that I need a way for codeigniter to recognize that when a user types in www.domain.com/blog or /forum, it switches apps. Is this possible? Edit: I should also clarify just in case, the htdocs folder and subfolders are the only publicly accessible folders. Everything else is below the webroot for security reasons.
|
Welcome Guest, Not a member yet? Register Sign In |