In a shell the SERVER_NAME environment variable isn't set, so if DATABASE_CONFIG relies on it then the connection won't be made.
On Feb 2, 4:25 am, AD7six <[EMAIL PROTECTED]> wrote: > On Feb 2, 10:04 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > 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. > > I'm curious to know what one has to do with the other. I don't include > database.php OR core.php in project repos (the latter seems to be just > me) to avoid moving local settings around to other installs. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
