Skip to content
Snippets Groups Projects
Commit 5a53a0d4 authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-122] Merging from testing into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@611 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent a3417060
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,12 @@ function unl_menu() {
'position' => 'left',
'weight' => -6,
);
$items['_status'] = array(
'title' => 'Still Alive',
'page callback' => 'unl_still_alive',
'access callback' => TRUE,
);
if (conf_path() == 'sites/default') {
$items['admin/sites/unl'] = array(
......@@ -695,3 +701,10 @@ function unl_shared_variable_get($name, $default = NULL) {
return unserialize($data[0]->value);
}
// A simple "I'm still alive" page to check to see that drupal is working.
function unl_still_alive()
{
header('Content-type: text/plain');
echo '200 Still Alive';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment