Skip to content
Snippets Groups Projects
Commit a25e39f9 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

adding hook to frontpage and default disable

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1318 44740490-163a-0410-bde0-09ae8108e29a
parent c4f1fdc9
No related branches found
No related tags found
No related merge requests found
<?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'),
);
}
?>
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