• Please allow 5 mins between posts.
  • Although email's are required they are hidden.
  • You can create an avatar that will appear everytime you post on a Gravatar enabled blog.
  • You can use the following tags in your post.
    [code][/code] [url][/url] [img][/img] [quote][/quote] [b][/b] [i][/i] [u][/u]

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

Test