Fix Bug php version
This commit is contained in:
parent
6335118b7d
commit
6be01ef95f
1 changed files with 4 additions and 2 deletions
|
|
@ -381,8 +381,10 @@ if (!defined('PHP_VERSION_ID')) {
|
|||
|
||||
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 ));
|
||||
}
|
||||
|
||||
if ( PHP_VERSION_ID < 82000) {
|
||||
/**
|
||||
* Minimum version = 8.2 == 80200
|
||||
*/
|
||||
if ( PHP_VERSION_ID < 80200) {
|
||||
echo $g_failed. " ".phpversion()." ". _("Version PHP trop basse , minimum 8.2");
|
||||
echo '<p style="color:grey;margin-left:20px">';
|
||||
printf(_("Cette version nécessite au moins une version supérieure ou égale à 8.2"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue