1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

PHP 7.1 warning added.

This commit is contained in:
Cameron 2016-12-23 07:25:09 -08:00
parent 38dae889e2
commit 2c6fa39db8

View File

@ -857,13 +857,21 @@ class e_install
$php_help = "<span class='glyphicon glyphicon-remove'></span> ".LANINS_019;
}
$e_forms->start_form("versions", $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING'] == "debug" ? "?debug" : ""));
$permColor = ($perms_pass == true) ? "text-success" : "text-error";
$PHPColor = ($version_fail == false) ? "text-success" : "text-error";
$mysqlColor = ($mysql_pass == true) ? "text-success" : "text-error";
$permColor = ($perms_pass == true) ? "text-success" : "text-danger";
$PHPColor = ($version_fail == false) ? "text-success" : "text-danger";
$mysqlColor = ($mysql_pass == true) ? "text-success" : "text-danger";
if(version_compare($php_version, 7.1, ">=")) // XXX Remove once tested thoroughly
{
$php_help = "<span class='glyphicon glyphicon-warning-sign'></span> PHP 7.1 may have issues with e107. We recommend using 7.0.x versions instead until further testing has been performed.";
$PHPColor = 'text-warning';
}
$extensionCheck = array(