This companion function to domain_set_domain() simply returns the value of the $_domain global, as suggested here --> http://drupal.org/node/275278#comment-1743196.
Moving to this function in D7 will allow us to use a static function to store the $_domain variable, eliminating the use of a global.
| Comment | File | Size | Author |
|---|---|---|---|
| 275278-domain-get.patch | 965 bytes | agentrickard |
Comments
Comment #1
Anonymous (not verified) commentedThanks for this, agentrickard