function action() {
Configure::write('debug', '2');
// do something
}
Please notice that the key must be in lowercase, ‘DEBUG’ won’t have the desired effect.
分享 Linux/Apache/PHP+MySQL/Smarty/JQuery/RubyOnRails 的點點滴滴!
function action() {
Configure::write('debug', '2');
// do something
}
沒有留言:
張貼留言