On Dec 17, 2007 12:12 PM, RichardAtHome <[EMAIL PROTECTED]> wrote: > > Yup, true. But, how *would* you configure cake to redirect to a site > down page if the database connection failed? > > Some code in bootstrap.php that checks for a connection and then > redirect to pages/site_down for example? >
Yeah, I'd put it in the beforeFilter() of app_controller like some others have suggested. -- Chris Hartjes My motto for 2007: "Just build it, damnit!" @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
