domain_get_uri($domain)Determine an absolute path to the current page
$domain The currently active $domain array, provided by domain_lookup().
The absolute url to the current page on the requested domain.
./domain.module, line 1056
<?php
function domain_get_uri($domain) {
$request_uri = request_uri();
$modules = _domain_path_modules();
if (!empty($modules) && !drupal_is_front_page()) {
// If needed, let modules modify the path alias.
$alias = domain_path($domain['domain_id'], $_GET['q']);
// Run the result through url() for proper language and path handling.
$request_uri = url($alias);
}
$path = check_url($domain['scheme'] .'://'. $domain['subdomain'] . $request_uri);
return $path;
}
?>