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