*fix - checkSsl should check PHP_VERSION and not PHP_RELEASE_VERSION
parent
8fa1bf6c0d
commit
5934e9a25c
|
@ -406,7 +406,7 @@ class StatusUpdater
|
|||
*/
|
||||
private function checkSsl($server, &$error, &$result)
|
||||
{
|
||||
if (version_compare(PHP_RELEASE_VERSION, '7.1', '<')) {
|
||||
if (version_compare(PHP_VERSION, '7.1', '<')) {
|
||||
$error = "The server you're running PSM on must use PHP 7.1 or higher to test the SSL expiration.";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue