Welcome Guest, Not a member yet? Register   Sign In
one index.php for multiple application
#4

(05-01-2015, 08:24 AM)CroNiX Wrote: It can probably be done, but you'd need to be able to figure out a way to detect which application is being called and set the appropriate $application path in index.php to point to the correct application.
actually that is the reason I made the question. So far I try to search on google about how to setting the index.php for multiple apps in one CI, but the result is always about make different index.php files and rename them according the apps.
(05-01-2015, 08:35 AM)CroNiX Wrote: How are you planning on serving up the different applications?

Subdomains?
app1.somesite.com
app2.somesite.com

Urls?
somesite.com/app1/controller
somesite.com/app2/controller

subdomain.
Reply


Messages In This Thread
RE: one index.php for multiple application - by dzuno43 - 05-01-2015, 02:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB