Because I want to implement my own custom PHP error handling. As an example, I want to be able to create different output when DEBUG=0,1,2 or 3. Currently when DEBUG=0, my custom error handler is not called at all. The operation stops in cake libs and is not allowed a chance in app.
Rahul J On Jun 16, 10:16 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Jun 16, 4:06 pm, Rahul J <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I am trying to extend Debugger class (cake/libs/debugger.php) in my > > app directory in similar way as AppModel/Controller. > > > class AppDebugger extends Debugger > > > I've even tried renaming the file debugger.php and app_debugger.php > > but without luck. Its not working! > > > I guess its something to do with the way Debugger methods are > > "invoked" statically, though I'm not sure about this. > > Can someone please enlighten me and tell me how to do this? > > > Thanks! > > Why do you want to do that? > > AD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
