Fix Bug php version

This commit is contained in:
sparkyx 2025-09-03 13:21:26 +02:00
parent 6335118b7d
commit 6be01ef95f

View file

@ -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"));