private function getTrackerExcludedIps($website)
    {
        $excludedIps = $website['excluded_ips'];
        $globalExcludedIps = API::getInstance()->getExcludedIpsGlobal();

        $excludedIps .= ',' . $globalExcludedIps;

        $ipRanges = array();
        foreach (explode(',', $excludedIps) as $ip) {
            $ipRange = API::getInstance()->getIpsForRange($ip);
            if ($ipRange !== false) {
                $ipRanges[] = $ipRange;
            }
        }
        return $ipRanges;
    }
private function getTrackerExcludedIps($website)
    {
        $excludedIps = $website['excluded_ips'];
        $globalExcludedIps = API::getInstance()->getExcludedIpsGlobal();

        $excludedIps .= ',' . $globalExcludedIps;

        $ipRanges = array();
        foreach (explode(',', $excludedIps) as $ip) {
            $ipRange = API::getInstance()->getIpsForRange($ip);
            if ($ipRange !== false) {
                $ipRanges[] = $ipRange;
            }
        }
        return $ipRanges;
    }
private function getTrackerExcludedIps ( $ website ) { $ excludedIps = $ website [ 'excluded_ips' ] ; $ globalExcludedIps = API :: getInstance ( ) -> getExcludedIpsGlobal ( ) ; $ excludedIps .= ',' . $ globalExcludedIps ; $ ipRanges = array ( ) ; foreach ( explode ( ',' , $ excludedIps ) as $ ip ) { $ ipRange = API :: getInstance ( ) -> getIpsForRange ( $ ip ) ; if ( $ ipRange !== false ) { $ ipRanges [ ] = $ ipRange ; } } return $ ipRanges ; }
Returns the array of excluded IPs to save in the config file

@param array $website
@return array
Returns the array of excluded IPs to save in the config file