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
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
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
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
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
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