You are here

function logs_http_get_http_url in Logs HTTP 7

Return the endpoint URL to POST data to.

Return value

string Return the URL if exists, or NULL if disabled.

2 calls to logs_http_get_http_url()
logs_http_register_event in ./logs_http.module
Register an event in a static cache.
logs_http_shutdown in ./logs_http.module
Runs on shutdown to clean up and display developer information.

File

./logs_http.module, line 206
Logs HTTP module.

Code

function logs_http_get_http_url() {
  if (!variable_get('logs_http_enabled', TRUE) || !variable_get('logs_http_url')) {

    // Don't register the event.
    return;
  }
  return variable_get('logs_http_url');
}