$ips = array('127.0.0.1'); $config['Misc']['debug'] = (in_array($_SERVER['REMOTE_ADDR'], $ips) ? true : false);