It would be better if it can be integrated into cake frame configure. On Tue, Aug 11, 2009 at 10:05 AM, JamesF <usaexportexpe...@gmail.com> wrote:
> > i sometimes set a global constant in my bootstrap.php > > define('LIVE_SITE', true); > > and any error handling has to check and see if('LIVE_SITE') is true > before > it decides what to do with an error. > > http://book.cakephp.org/view/154/Error-Handling > > On Aug 10, 5:22 pm, David <sirdavid...@gmail.com> wrote: > > Hi guys, > > > > I would like to silently write errors to error.log when in production > > mode. It would be useful to catch anything going wrong that I hadn't > > previously noticed. > > > > Any ideas for a way to do this? > > > > Thanks! > > > > David > > > -- Thanks Joshua 5span.com <https://www.5span.com> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---