Merge pull request #1225 from martijnengler/develop
Fix version check during install. Fixes #1224pull/1292/head
commit
8870f5ecd1
|
@ -84,7 +84,7 @@ class InstallController extends AbstractController
|
||||||
} else {
|
} else {
|
||||||
$this->addMessage('PHP version: ' . $phpv, 'success');
|
$this->addMessage('PHP version: ' . $phpv, 'success');
|
||||||
}
|
}
|
||||||
if (version_compare(PHP_RELEASE_VERSION, '7', '<')) {
|
if (version_compare(PHP_MAJOR_VERSION, '7', '<')) {
|
||||||
$this->addMessage(
|
$this->addMessage(
|
||||||
'PHP 5 reaches the end of life (January 1, 2019), please update to PHP 7.
|
'PHP 5 reaches the end of life (January 1, 2019), please update to PHP 7.
|
||||||
PHP supported versions can be found
|
PHP supported versions can be found
|
||||||
|
|
Loading…
Reference in New Issue