You are here

function monitoring_host in Monitoring 8

Same name and namespace in other branches
  1. 7 monitoring.module \monitoring_host()

Gets current site host.

Return value

string Site url.

1 call to monitoring_host()
monitoring_host_key in ./monitoring.module

File

./monitoring.module, line 358
Monitoring bootstrap file.

Code

function monitoring_host() {
  global $base_url;
  return preg_replace('/^http(s)?:\\/\\//', '', $base_url);
}