lib/ezutils/classes/ezsys.php
public static function protocolSchema()
    {
        $schema = '';
        if( preg_match( "#^([a-zA-Z]+)/.*$#", self::serverVariable( 'SERVER_PROTOCOL' ), $schemaMatches ) )
        {
            $schema = strtolower( $schemaMatches[1] ) . '://';
        }

        return $schema;
    }
public static function protocolSchema()
    {
        $schema = '';
        if( preg_match( "#^([a-zA-Z]+)/.*$#", self::serverVariable( 'SERVER_PROTOCOL' ), $schemaMatches ) )
        {
            $schema = strtolower( $schemaMatches[1] ) . '://';
        }

        return $schema;
    }
public static function protocolSchema ( ) { $ schema = '' ; if ( preg_match ( "#^([a-zA-Z]+)/.*$#" , self :: serverVariable ( 'SERVER_PROTOCOL' ) , $ schemaMatches ) ) { $ schema = strtolower ( $ schemaMatches [ 1 ] ) . '://' ; } return $ schema ; }
Returns the schema of the request.

@return string
Returns the schema of the request .