I ask this because I don't want to change code, but I do want to
change databases, when I move code from a "dev" into "staging" server.
If I have many entries in my DATABASE_CONFIG class, and I can read my
environment using something like env('ORIG_PATH_TRANSLATED');
Where is the best place to code a switch, to use a database to match
the sub-domain?I appreciate the help, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
