public static function isInIpRange($range)
	{
		//get from and to addresses and translate them into numeric format
		if (!is_array($range)) {
			$from = ip2long(str_replace('*', '1', $range));
			$to = ip2long(str_replace('*', '255', $range));
		} else {
			$from = ip2long($range[0]);
			$to = ip2long($range[1]);
		}

		//get request ip
		$ipReq = ip2long(static::$RCACHE['host']);

		return $ipReq >= $from && $ipReq <= $to;
	}