Portions created by the Initial Developer are Copyright (C) 20018-2025 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //check the domain cidr range global $settings; if (!defined('STDIN') && !empty($settings->get('domain', 'cidr'))) { $found = false; $cidr_array = $settings->get('domain', 'cidr'); if (!empty($cidr_array)) { foreach($cidr_array as $cidr) { if (check_cidr($cidr, $_SERVER['REMOTE_ADDR'])) { $found = true; break; } } } if (!$found) { echo "access denied"; exit; } } ?>