Welcome Guest, Not a member yet? Register   Sign In
same application, multiple custumers (of which each one has it's own database)
#3

[eluser]CI beyond[/eluser]
hmmz, i guess it's possible, i can determine which database to load by examining the $_SERVER[ 'HTTP_HOST' ] in database.php. It should work, but it's a bit unelegant because if an url changes you have to change the database.php as well.

not bad though, keep them coming Wink


Messages In This Thread
same application, multiple custumers (of which each one has it's own database) - by El Forum - 02-24-2008, 02:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB