BUG Ticket (closed)

Output of request timer when debug set to 0

###What happened: In my controller that uses ajax I set the debug to 0 using ```Configure::write('debug', 0);``` the issue is that at the bottom of my ajax response I get ```<!-- 0.5982s -->``` It is important that no debug information be displayed with the response is a json object because the client side decode will fail. Debug is set to 2 in core.php so I am assuming that the timer function checked the debug setting at the beginning and not the end of the request. ###What was expected: No Output
on 08.30.09 reported by: thinline owned by: mark_story
on 08.30.09 by thinline
  • version was changed to 1.1
on 08.30.09 by mark_story
I don't get this, try updating to the latest revision. And the configure setting is checked in the `DebugKitDebugger::__destruct()` <http://thechaw.com/debug_kit/source/vendors/debug_kit_debugger.php#56> So perhaps debug is not 0 ?
on 08.30.09 by thinline
Upgrading worked perfect. The 1.1 download is a bit out of date. Looks like lots of stuff changed. Sorry for the erroneous ticket.
(fixed) on 08.31.09 by mark_story
  • owner was changed to mark_story
  • status was changed to closed
  • resolution was changed to fixed
No worries, I love self fixing bugs :)