Skip to content
Snippets Groups Projects
Commit 952027dd authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Do not release information about the PHP version running underneath.

parent faa72450
No related branches found
No related tags found
No related merge requests found
......@@ -24,9 +24,9 @@ function core_hook_sanitycheck(&$hookinfo) {
}
if (version_compare(phpversion(), '5.3', '>=')) {
$hookinfo['info'][] = '[core] You are running PHP version ' . phpversion() . '. Great.';
$hookinfo['info'][] = '[core] You are running a PHP version suitable for SimpleSAMLphp.';
} else {
$hookinfo['errors'][] = '[core] You are running PHP version ' . phpversion() . '. SimpleSAMLphp requires version >= 5.3. Please upgrade!';
$hookinfo['errors'][] = '[core] You are running an old PHP installation. Please check the requirements for your SimpleSAMLphp version and upgrade.';
}
$info = array();
......
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