/**
 * Get some information about the files installed on a system.
 *
 * @param unknown_type $hook
 * @param unknown_type $entity_type
 * @param unknown_type $returnvalue
 * @param unknown_type $params
 */
function diagnostics_sigs_hook($hook, $entity_type, $returnvalue, $params)
{
    global $CONFIG;
    $returnvalue .= sprintf(elgg_echo('diagnostics:report:md5'), diagnostics_md5_dir($CONFIG->path));
    return $returnvalue;
}
Beispiel #2
0
/**
 * Get some information about the files installed on a system.
 *
 * @return string
 */
function diagnostics_sigs_hook($hook, $entity_type, $returnvalue, $params)
{
    $base_dir = elgg_get_root_path();
    $returnvalue .= elgg_echo('diagnostics:report:md5', array(diagnostics_md5_dir($base_dir)));
    return $returnvalue;
}