Re: how do I stop the SQL queries from display in AJAX calls?

2008-04-29 Thread John David Anderson

Use:

Configure::write('debug', '1');

That will show errors, but not SQL debugging output.

-- John



On Apr 29, 2008, at 9:42 AM, MarcS wrote:

>
> Hi,
>
> How can I stop the SQL queries from being displayed at the bottom of
> the page in AJAX calls.
> Up until now I've always used
> Configure::write('debug', '0');
> for ajax cals.This, however, make cake not show any error messages
> which also sucks. I only want to stop the SQL queries from being
> displayed.
> How can I do that?
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



how do I stop the SQL queries from display in AJAX calls?

2008-04-29 Thread MarcS

Hi,

How can I stop the SQL queries from being displayed at the bottom of
the page in AJAX calls.
Up until now I've always used
Configure::write('debug', '0');
for ajax cals.This, however, make cake not show any error messages
which also sucks. I only want to stop the SQL queries from being
displayed.
How can I do that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---