Welcome Guest, Not a member yet? Register   Sign In
Multiple systems/database using a single CodeIgniter installation
#1

[eluser]FernandoMM[/eluser]
Hello,

I have developed a basic sales system with CI. Currently, i have 5 clients using it and have 5 installations of the same app. All installations are the same, the only thing that differs them are the database that they are accessing.

Is there a easy way to have only one installation that recognize which client is accessing and connect to the correct database?

I was wondering if i could create URLS like:

Code:
http://my-site.com/client_name1/index.php/controller/blablabla

http://my-site.com/client_name2/index.php/controller/blablabla

But redirecting to the same CI installation ( this way i would keep how clients access today ).

Thanks,

Fernando.


Messages In This Thread
Multiple systems/database using a single CodeIgniter installation - by El Forum - 02-06-2009, 10:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB