Welcome Guest, Not a member yet? Register   Sign In
Multiple domains pointing to same CI application
#3

[eluser]Clooner[/eluser]
What you could do is detect the url in the config & db config file and have a specific setup for each one. Now you can have the same files but different db behind it. You could also do this trick in the router config and have it point to different controllers.

Detect the url with something like: $_SERVER['SERVER_NAME'];


Messages In This Thread
Multiple domains pointing to same CI application - by El Forum - 12-05-2008, 09:30 PM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 09:57 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 10:15 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 11:00 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 03:56 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 06:42 AM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:07 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:35 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:55 PM
Multiple domains pointing to same CI application - by El Forum - 12-09-2008, 02:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB