protected function purl_domain::base_url in Persistent URL 6
Same name and namespace in other branches
- 7 includes/purl_domain.inc \purl_domain::base_url()
1 call to purl_domain::base_url()
- purl_domain::rewrite in includes/
purl_domain.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_domain.inc, line 61
Class
- purl_domain
- Full domain handling.
Code
protected function base_url() {
global $base_url;
$base = variable_get('purl_base_domain', $base_url);
return !empty($base) ? $base : $base_url;
}