mvsn
Joined: 29 Oct 2006
Posts: 83
Location: Ontario, Canada
|
| Posted: Sun Apr 29, 2007 7:56 am Post subject: concept: |
|
|
I'm trying to come up with a plan on managing multiple companies under one single session.
Ive been browsing over the code and thought of this solution... programmers, please advise.
----- Idea:
Login page:
requests username, password, theme, and language.
A/ add a field for domain address
B/ or login using user@domain and just pull the domain info.
how it could work?
once the data is pulled from the Login.php page, rather than seeking for the config.inc.php & config.php in root folder of vtiger... assing it to a specific folder;
/vtigerroot/configs/domain.com/config.inc.php
/vtigerroot/configs/domain.com/config.php
This way we only need to create simple configuration files that point to the correct DB...
complications:
separating customer/client attachments, etc..
Please share your thoughts.
Thank You. |
|