My solution is to abandon the DATABASE_CONFIG constructor logic that
uses HTTP_SERVER. Instead I'm doing svn ignore on database.php and
changing the values in the three different installations.

On Feb 2, 2:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Anyone know how to do this? I'm currently determining the database
> connection with a DATABASE_CONFIG constructor based on the host name
> and need an explicit way to set it with the 'cake' shell startup
> command since DATABASE_CONFIG won't have access to
> env('HTTP_SERVER').
>
> I envision it looking like this:
>
> cake -app /path/to/app shell_script go connection_name
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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