milicic.marko wrote: > What is the best way to configure production and development > configuration? > > Should I define $default connection depending on debug level or there > is some smarter solution..
I use this style to switch database configurations : http://withcake.com/posts/view/ease_deployment which works well, you can probably expand upon it to provide more features. In fact it would be good if it was expanded into a more general configuration switching mechanism rather than just the database because as you say you would want a different debug level as well. anyone else ? :) Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
