diff --git a/modules/core/hooks/hook_sanitycheck.php b/modules/core/hooks/hook_sanitycheck.php index 24e0f812dc1bf0905a73fa29c3cf5dfdecb38164..5d1a8a14c00d0328d0e4f016aa29ece6ca775359 100644 --- a/modules/core/hooks/hook_sanitycheck.php +++ b/modules/core/hooks/hook_sanitycheck.php @@ -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();