You are here

function drupalmonitor_connector_noaccess in Drupalmonitor 7

Returns correct headers if no access.

1 string reference to 'drupalmonitor_connector_noaccess'
drupalmonitor_connector_page_data in ./drupalmonitor_connector.pages.inc
Implements drupalmonitor output.

File

./drupalmonitor_connector.pages.inc, line 136

Code

function drupalmonitor_connector_noaccess() {
  header('HTTP/1.1 403 Forbidden');
  $info['drupalmonitor_status'] = "NO ACCESS";
  drupal_json_output($info);
  drupal_exit();
}