diff --git a/sites/all/modules/unl/unl.module b/sites/all/modules/unl/unl.module index d951ccb069b0bc01130915f959fa03d1ca658a8f..da3e72e74667ea08504fa1ec04397cbda92a202e 100644 --- a/sites/all/modules/unl/unl.module +++ b/sites/all/modules/unl/unl.module @@ -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'; +}