kernel/classes/ezsslzone.php
static function enabled()
    {
        if ( isset( $GLOBALS['eZSSLZoneEnabled'] ) )
            return $GLOBALS['eZSSLZoneEnabled'];

        $enabled = false;
        $ini = eZINI::instance();
        if ( $ini->hasVariable( 'SSLZoneSettings', 'SSLZones' ) )
            $enabled = ( $ini->variable( 'SSLZoneSettings', 'SSLZones' ) == 'enabled' );

        return $GLOBALS['eZSSLZoneEnabled'] = $enabled;
    }
static function enabled()
    {
        if ( isset( $GLOBALS['eZSSLZoneEnabled'] ) )
            return $GLOBALS['eZSSLZoneEnabled'];

        $enabled = false;
        $ini = eZINI::instance();
        if ( $ini->hasVariable( 'SSLZoneSettings', 'SSLZones' ) )
            $enabled = ( $ini->variable( 'SSLZoneSettings', 'SSLZones' ) == 'enabled' );

        return $GLOBALS['eZSSLZoneEnabled'] = $enabled;
    }
static function enabled ( ) { if ( isset ( $ GLOBALS [ 'eZSSLZoneEnabled' ] ) ) return $ GLOBALS [ 'eZSSLZoneEnabled' ] ; $ enabled = false ; $ ini = eZINI :: instance ( ) ; if ( $ ini -> hasVariable ( 'SSLZoneSettings' , 'SSLZones' ) ) $ enabled = ( $ ini -> variable ( 'SSLZoneSettings' , 'SSLZones' ) == 'enabled' ) ; return $ GLOBALS [ 'eZSSLZoneEnabled' ] = $ enabled ; }
\static
Returns true if the SSL zones functionality is enabled, false otherwise.
The result is cached in memory to save time on multiple invocations.
\ static Returns true if the SSL zones functionality is enabled false otherwise . The result is cached in memory to save time on multiple invocations .