Re: Removing page execution time from bottom of page

2008-08-27 Thread evilbloodydemon
On Aug 24, 1:02 am, Aaron [EMAIL PROTECTED] wrote: At the bottom of every rendered page is an execution time (i.e. !--0.4567s --)  I have views that return json and this breaks the parsing.  How do I remove this? -Aaron use layout without any other text. in controller: function

Re: Removing page execution time from bottom of page

2008-08-26 Thread Brett Wilton
If you only want this in a particular view you can set Configure::write ('debug', 0); in your controller method. This is particularly useful for those controllers that require no extra information e.g. sitemap producing xml Brett Wilton http://wiltonsoftware.com

Re: Removing page execution time from bottom of page

2008-08-24 Thread Daniel Hofstetter
Hi Aaron, At the bottom of every rendered page is an execution time (i.e. !--0.4567s --)  I have views that return json and this breaks the parsing.  How do I remove this? You could remove it from the end of app/webroot/index.php -- Daniel Hofstetter http://cakebaker.42dh.com

Re: Removing page execution time from bottom of page

2008-08-24 Thread itsnotvalid
Or disable it on the specific view using $config. On Aug 24, 5:35 am, majna [EMAIL PROTECTED] wrote: just set Debug to 0. (execution time is echoed from webroot/index.php, but only in debug mode) On Aug 23, 11:02 pm, Aaron [EMAIL PROTECTED] wrote: At the bottom of every rendered page

Removing page execution time from bottom of page

2008-08-23 Thread Aaron
At the bottom of every rendered page is an execution time (i.e. !--0.4567s --) I have views that return json and this breaks the parsing. How do I remove this? -Aaron --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Removing page execution time from bottom of page

2008-08-23 Thread majna
just set Debug to 0. (execution time is echoed from webroot/index.php, but only in debug mode) On Aug 23, 11:02 pm, Aaron [EMAIL PROTECTED] wrote: At the bottom of every rendered page is an execution time (i.e. !--0.4567s --) I have views that return json and this breaks the parsing. How