source/Core/UtilsServer.php
public function isTrustedClientIp()
    {
        $blTrusted = false;
        $aTrustedIPs = ( array ) \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("aTrustedIPs");
        if (count($aTrustedIPs)) {
            $blTrusted = in_array($this->getRemoteAddress(), $aTrustedIPs);
        }

        return $blTrusted;
    }
public function isTrustedClientIp()
    {
        $blTrusted = false;
        $aTrustedIPs = ( array ) \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("aTrustedIPs");
        if (count($aTrustedIPs)) {
            $blTrusted = in_array($this->getRemoteAddress(), $aTrustedIPs);
        }

        return $blTrusted;
    }
public function isTrustedClientIp ( ) { $ blTrusted = false ; $ aTrustedIPs = ( array ) \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( "aTrustedIPs" ) ; if ( count ( $ aTrustedIPs ) ) { $ blTrusted = in_array ( $ this -> getRemoteAddress ( ) , $ aTrustedIPs ) ; } return $ blTrusted ; }
Checks if current client ip is in trusted IPs list.
IP list is defined in config file as "aTrustedIPs" parameter

@return bool
Checks if current client ip is in trusted IPs list . IP list is defined in config file as aTrustedIPs parameter