protected function purl_subdomain::base_url in Persistent URL 6
Same name and namespace in other branches
- 7 includes/purl_subdomain.inc \purl_subdomain::base_url()
1 call to purl_subdomain::base_url()
- purl_subdomain::rewrite in includes/
purl_subdomain.inc - Responsible for rewriting outgoing links. Note: it's this functions job to make sure it doesn't alter a link that has already been treated.
File
- includes/
purl_subdomain.inc, line 60
Class
- purl_subdomain
- Subdomain prefixing.
Code
protected function base_url() {
global $base_url;
$base = variable_get('purl_base_domain', $base_url);
return !empty($base) ? $base : $base_url;
}