diff --git a/modules/memcacheMonitor/default-disable b/modules/memcacheMonitor/default-disable new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/modules/memcacheMonitor/hooks/hook_frontpage.php b/modules/memcacheMonitor/hooks/hook_frontpage.php new file mode 100644 index 0000000000000000000000000000000000000000..16fb4aaaee0942687c1d7f42af248f6d87f0962e --- /dev/null +++ b/modules/memcacheMonitor/hooks/hook_frontpage.php @@ -0,0 +1,19 @@ +<?php +/** + * Hook to add the simple consenet admin module to the frontpage. + * + * @param array &$links The links on the frontpage, split into sections. + */ +function memcacheMonitor_hook_frontpage(&$links) { + assert('is_array($links)'); + assert('array_key_exists("links", $links)'); + + $links['links'][] = array( + 'href' => SimpleSAML_Module::getModuleURL('memcacheMonitor/memcachestat.php'), + 'text' => array('en' => 'MemCache Statistics'), + ); + +} + + +?>