src/CEnv.php
static function IsSecureHttp()
	{
		return ( CLib::IsArrayWithKeys( $_SERVER, 'HTTPS' ) &&
			CLib::IsExistingString( $_SERVER[ 'HTTPS' ] ) &&
			(
				0 == strcasecmp( 'ON', $_SERVER[ 'HTTPS' ] ) ||
				0 == strcasecmp( '1', $_SERVER[ 'HTTPS' ] )
			) );
	}
static function IsSecureHttp()
	{
		return ( CLib::IsArrayWithKeys( $_SERVER, 'HTTPS' ) &&
			CLib::IsExistingString( $_SERVER[ 'HTTPS' ] ) &&
			(
				0 == strcasecmp( 'ON', $_SERVER[ 'HTTPS' ] ) ||
				0 == strcasecmp( '1', $_SERVER[ 'HTTPS' ] )
			) );
	}
static function IsSecureHttp ( ) { return ( CLib :: IsArrayWithKeys ( $ _SERVER , 'HTTPS' ) && CLib :: IsExistingString ( $ _SERVER [ 'HTTPS' ] ) && ( 0 == strcasecmp ( 'ON' , $ _SERVER [ 'HTTPS' ] ) || 0 == strcasecmp ( '1' , $ _SERVER [ 'HTTPS' ] ) ) ) ; }
detect if the protocol of current request is secure

@return boolean
detect if the protocol of current request is secure