multiple database support ? |
[eluser]pshah.mumbai[/eluser]
I want to create a application in CI with separate database for each company. The application should be accessible via http://app.com/companyname and the database name should be automatically selected from the companyname part of the url Eg : http://app.com/compsys -> should automatically load the compsys database. Also the view URL's should be relative to the companyname Eg : http://app.com/compsys/register with open the "register" view for the "compsys" company database. Is this possible in CI and any tips on how to do it since this is my first CI project.
[eluser]cereal[/eluser]
Yes you can, read the User Guide: http://ellislab.com/codeigniter/user-gui...cting.html bye |
Welcome Guest, Not a member yet? Register Sign In |