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

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