mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Deprecate PHP < 7.1.3 (#9645)
* Added validation and support for users on PHP < 7.1.3 * Branch name php56
This commit is contained in:
committed by
Tony Murray
parent
80f31b4831
commit
6fdafd137c
@@ -70,7 +70,12 @@ class Updates extends BaseValidation
|
||||
if ($versions['local_branch'] == 'php53') {
|
||||
$validator->warn(
|
||||
"You are on the PHP 5.3 support branch, this will prevent automatic updates.",
|
||||
"Update to PHP 5.6.4 or newer (PHP 7.1 recommended) to continue to receive updates."
|
||||
"Update to PHP 5.6.4 or newer (PHP 7.2 recommended) to continue to receive updates."
|
||||
);
|
||||
} elseif ($versions['local_branch'] == 'php56') {
|
||||
$validator->warn(
|
||||
"You are on the PHP 5.6/7.0 support branch, this will prevent automatic updates.",
|
||||
"Update to PHP 7.1.3 or newer (PHP 7.2 recommended) to continue to receive updates."
|
||||
);
|
||||
} else {
|
||||
$validator->warn(
|
||||
|
Reference in New Issue
Block a user