public static function isSecure() {
        $s = &$_SERVER;
        $ssl = (!empty($s['HTTPS']) && $s['HTTPS'] == 'on') ? true : false;
        return $ssl;
    }
public static function isSecure() {
        $s = &$_SERVER;
        $ssl = (!empty($s['HTTPS']) && $s['HTTPS'] == 'on') ? true : false;
        return $ssl;
    }
public static function isSecure ( ) { $ s = & $ _SERVER ; $ ssl = ( ! empty ( $ s [ 'HTTPS' ] ) && $ s [ 'HTTPS' ] == 'on' ) ? true : false ; return $ ssl ; }
Evaluate the Safety Scope of Application.
@return boolean
Evaluate the Safety Scope of Application .