I had the SQL being dumped even in my ajax calls.  Not sure if this is
what you are looking for but I use the following to disable that.

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

Peter Lombardo

On Jan 20, 12:58 pm, keymaster <[EMAIL PROTECTED]> wrote:
> I use the following code to turn off debug info during ajax calls.
>
> if ($this->RequestHandler->isAjax()) {
>         $db =& ConnectionManager::getDataSource('default');
>         $db->fullDebug = false;
>         $this->RequestHandler->setAjax($this);
>
> }
>
> It worked flawlessly up to and including cake 1.1.18, but in cake
> 1.1.19 it no longer works and there is debug info all over the
> screen:.
>
> Anyone else experiencing this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to