minimal version PHP 8.2
This commit is contained in:
parent
dc3c41cafd
commit
b63612f8ac
2 changed files with 4 additions and 3 deletions
|
|
@ -382,10 +382,10 @@ if (!defined('PHP_VERSION_ID')) {
|
|||
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 ));
|
||||
}
|
||||
|
||||
if ( PHP_VERSION_ID < 80000) {
|
||||
echo $g_failed. " ".phpversion()." ". _("Version PHP trop basse , minimum 8.0");
|
||||
if ( PHP_VERSION_ID < 82000) {
|
||||
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.0"));
|
||||
printf(_("Cette version nécessite au moins une version supérieure ou égale à 8.2"));
|
||||
echo '</p>';
|
||||
$fatal++;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue