Okay ... so I'm about to push my app up to my live server. On my local
machine I'm developing on

mydomain.local

On the server I'll set up

release.mydomain.com

and

www.mydomain.com

of course release is where I'll do final tests on live hardware/
systems etc, before putting live on www.

My database config looks like

var $default ....

var $test ...

var $live ...

I've read:
http://labs.iamkoa.net/2007/10/29/easy-dynamic-database-connection-in-cakephp/

Which suggests I need to script the switching ... surely there is a
flag in CORE or somewhere in cakePHP that lets it know gracefully
which environment it's on?? (and then which database config to use)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to