Use Configure::write specifying 'debug' as key and new debug level as value.
Example:

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

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de Hanzgroove
Enviado el: Martes, 10 de Abril de 2007 08:58 p.m.
Para: Cake PHP
Asunto: Change DEBUG level on a specific controller action

Is it possible to change the DEBUG level for a specific controller
action? Instead of using the site-wide setting in config.php, I'd like
to have a different DEBUG level for specific controller actions. I'd
appreciate any help on this. Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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