lib/ezutils/classes/ezmodule.php
private function getAllowedRedirectHosts()
    {
        $ini = eZINI::instance();
        $allowedHosts = array_fill_keys( $ini->variable( 'SiteSettings', 'AllowedRedirectHosts' ), true );
        // Adding HostMatchMapItems from siteaccess match if present
        if ( $ini->hasVariable( 'SiteAccessSettings', 'HostMatchMapItems' ) )
        {
            $hostMatchMapItems = $ini->variable( 'SiteAccessSettings', 'HostMatchMapItems' );
            foreach ( $hostMatchMapItems as $item )
            {
                list( $host, $sa ) = explode( ';', $item );
                $allowedHosts[$host] = true;
            }
        }

        // Adding HostUriMatchMapItems
        foreach ( $ini->variable( 'SiteAccessSettings', 'HostUriMatchMapItems' ) as $item )
        {
            list( $host, $uri, $sa ) = explode( ';', $item );
            $allowedHosts[$host] = true;
        }

        return $allowedHosts;
    }
private function getAllowedRedirectHosts()
    {
        $ini = eZINI::instance();
        $allowedHosts = array_fill_keys( $ini->variable( 'SiteSettings', 'AllowedRedirectHosts' ), true );
        // Adding HostMatchMapItems from siteaccess match if present
        if ( $ini->hasVariable( 'SiteAccessSettings', 'HostMatchMapItems' ) )
        {
            $hostMatchMapItems = $ini->variable( 'SiteAccessSettings', 'HostMatchMapItems' );
            foreach ( $hostMatchMapItems as $item )
            {
                list( $host, $sa ) = explode( ';', $item );
                $allowedHosts[$host] = true;
            }
        }

        // Adding HostUriMatchMapItems
        foreach ( $ini->variable( 'SiteAccessSettings', 'HostUriMatchMapItems' ) as $item )
        {
            list( $host, $uri, $sa ) = explode( ';', $item );
            $allowedHosts[$host] = true;
        }

        return $allowedHosts;
    }
private function getAllowedRedirectHosts ( ) { $ ini = eZINI :: instance ( ) ; $ allowedHosts = array_fill_keys ( $ ini -> variable ( 'SiteSettings' , 'AllowedRedirectHosts' ) , true ) ; // Adding HostMatchMapItems from siteaccess match if present if ( $ ini -> hasVariable ( 'SiteAccessSettings' , 'HostMatchMapItems' ) ) { $ hostMatchMapItems = $ ini -> variable ( 'SiteAccessSettings' , 'HostMatchMapItems' ) ; foreach ( $ hostMatchMapItems as $ item ) { list ( $ host , $ sa ) = explode ( ';' , $ item ) ; $ allowedHosts [ $ host ] = true ; } } // Adding HostUriMatchMapItems foreach ( $ ini -> variable ( 'SiteAccessSettings' , 'HostUriMatchMapItems' ) as $ item ) { list ( $ host , $ uri , $ sa ) = explode ( ';' , $ item ) ; $ allowedHosts [ $ host ] = true ; } return $ allowedHosts ; }
Returns the set of hosts that are allowed for absolute redirection

@return array
Returns the set of hosts that are allowed for absolute redirection