From 17302884c0410e24f70f194451ddfd40514cbe53 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Tue, 12 Dec 2023 18:31:13 +0100 Subject: [PATCH] PHP 8.0 Minimum --- html/install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/install.php b/html/install.php index 9ec75f0a9..d0358d248 100644 --- a/html/install.php +++ b/html/install.php @@ -376,10 +376,10 @@ if (!defined('PHP_VERSION_ID')) { define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 )); } -if ( PHP_VERSION_ID < 70400) { - echo $g_failed. " ".phpversion()." ". _("Version PHP trop basse , minimum 7.4"); +if ( PHP_VERSION_ID < 80000) { + echo $g_failed. " ".phpversion()." ". _("Version PHP trop basse , minimum 8.0"); echo '

'; - printf(_("Il est déconseillé de travailler avec une version < 7.4")); + printf(_("Il est déconseillé de travailler avec une version < 8.0")); echo '

'; } else { echo $g_succeed. " Version PHP ".phpversion();