Set Configure::write('debug', 0); in layouts/ajax.ctp before
content_for_layout.That way all ajax calls are rendered with debug 0 regardless of the actual app debug. HTH, Nick On Jun 10, 9:37 pm, Roland Pish <[email protected]> wrote: > Hi! > > I'm doing some ajax calls and I realized that cakephp is appending the > render time to the ajax response; something like: <!-- 1.5382s --> > I set debug to 2 because I'm in the development phase. I assume that > setting debug to 0 gets rid of the render time, but, keeping the debug > set to 2 is there some way to get rid of this render time? > > Thanks in advance Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
