CAKEPHP Debug
Nice feature to add to certain actions, especially while coding them. Or infact AJAX actions where you don't want the debug notices at all.
Simply add Configure::write('debug', 'OPTION'); to your action to enable/disable cakephp debug.
<?php function action() { Configure::write('debug', '3'); } ?>

2 Comments