if ($_SERVER['REMOTE_ADDR'] == 'my.ip.addreess') $config['Misc']['debug'] = true; else $config['Misc']['debug'] = false;