Good idea in the long run, but for all my work I manage the servers ;) So I can be lazy ;)
On 5/20/07, Schogini Support <[EMAIL PROTECTED]> wrote: > > > Good, you may want to replace > > > $_SERVER[ > 'SERVER_NAME > '] with env( > 'SERVER_NAME > ') for better compatibility with all types of servers. > > > Regards Sree > > > > On 5/20/07, Samuel DeVore <[EMAIL PROTECTED]> wrote: > > > > like this.... > > > > < http://pastie.textmate.org/private/bcbw4agr20ehuu5vii> > > > > On 5/19/07, pbland <[EMAIL PROTECTED]> wrote: > > > > > > > > > In the database.php file, it says "you can specify multiple > > > configurations for production, development and testing." I'm not > > > seeing how easily it is to switch from doing local development on a > > > local database and then moving to a live database. I know you can > > > change databases in the controller through the $useDbConfig, but then > > > this requires changing each controller when you're ready to go live. > > > I'm missing something. Anyone willing to share how they setup their > > > development and production db configs? > > > > > > Thanks, > > > Paul > > > > > > > > > > > > > > > -- > > (the old fart) the advice is free, the lack of crankiness will cost you > > > > - its a fine line between a real question and an idiot > > > > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ > > > > > > > > -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---