Welcome Guest, Not a member yet? Register   Sign In
codeignter with multi database work
#1

[eluser]Unknown[/eluser]
hi,
i have 20 websites with the same database structures ,each one has his own back-end and it take lot of time to do some changes becuase i have to loggin to each one to work on.

to resolve this problem , i took one of my back-ends i tried to do some changes on it to work for all my websites.

first i created a database for this project with a 'user' table for the logging process, then in my administration interface i added a dropdown menu to select witch website/database i'd like to work on.

the problem is how can i swtich between my 20 databases (this number can change) without changing my models/controllers , because i have too many many files (models/controllers).


i'm using CI V1.7.2

thanks.




Theme © iAndrew 2016 - Forum software by © MyBB