Welcome Guest, Not a member yet? Register   Sign In
Setting Up Two CI On One Server
#4

And yes when I say second app it does mean a complete separate install of codeigniter.

When I was looking at route it seems like I will need a controller named app2 so that when I call app2 it will route accordingly? Does that mean for all the controllers that I use for app2 will have to be added into the routes?

So if I go the routes file route. I will have to create a controller called app2 and then in order for app2/login/tryLogin in to work
the configuration would have to look something like this?

$route['app2'] = "app2/login"; <--this being app2 folder inside controller

I tried this way without a app2 controller and I seem to get a 404.
Reply


Messages In This Thread
Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 07:38 PM
RE: Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 08:54 PM
RE: Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 09:36 PM
RE: Setting Up Two CI On One Server - by dhongyt - 04-11-2016, 10:29 PM
RE: Setting Up Two CI On One Server - by salain - 04-12-2016, 12:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB