function monitoring_host in Monitoring 8
Same name and namespace in other branches
- 7 monitoring.module \monitoring_host()
Gets current site host.
Return value
string Site url.
1 call to monitoring_host()
File
- ./monitoring.module, line 358 
- Monitoring bootstrap file.
Code
function monitoring_host() {
  global $base_url;
  return preg_replace('/^http(s)?:\\/\\//', '', $base_url);
}