library/Garp/3rdParty/facebook/src/base_facebook.php
protected function getBaseDomain() {
    // The base domain is stored in the metadata cookie if not we fallback
    // to the current hostname
    $metadata = $this->getMetadataCookie();
    if (array_key_exists('base_domain', $metadata) &&
        !empty($metadata['base_domain'])) {
      return trim($metadata['base_domain'], '.');
    }
    return $this->getHttpHost();
  }
protected function getBaseDomain() {
    // The base domain is stored in the metadata cookie if not we fallback
    // to the current hostname
    $metadata = $this->getMetadataCookie();
    if (array_key_exists('base_domain', $metadata) &&
        !empty($metadata['base_domain'])) {
      return trim($metadata['base_domain'], '.');
    }
    return $this->getHttpHost();
  }
protected function getBaseDomain ( ) { // The base domain is stored in the metadata cookie if not we fallback // to the current hostname $ metadata = $ this -> getMetadataCookie ( ) ; if ( array_key_exists ( 'base_domain' , $ metadata ) && ! empty ( $ metadata [ 'base_domain' ] ) ) { return trim ( $ metadata [ 'base_domain' ] , '.' ) ; } return $ this -> getHttpHost ( ) ; }
Get the base domain used for the cookie.
Get the base domain used for the cookie .