I used to use this, which is a very cool way in my opinion.

http://bakery.cakephp.org/articles/view/easy-peasy-database-config

Now I deploy from Subversion and don't keep passwords in the
respository (I have to manually add the database.php file with correct
details whenever I deploy to a new location).

Cheers,
Adam

On May 3, 2:19 am, basstech <[EMAIL PROTECTED]> wrote:
> After reading through the configuration documentation, it is nice that
> CakePHP supports multiple database configurations. However, I am
> wondering if there is an easy way to simply "turn on" one
> configuration over another across the entire application.
>
> In the documentation it says:
>
> The $default connection array is used unless another connection is
> specified by the $useDbConfig property in a model.
>
> Does this mean that in every model of my entire application I will
> need to specify that I want to use the development connection? Or can
> I simply set this once, and it will apply application-wide? If so, how
> is this best accomplished?
>
> Thanks
> CJ
--~--~---------~--~----~------------~-------~--~----~
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