noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 33/34: Minimum PHP 7.4


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 33/34: Minimum PHP 7.4
Date: Sun, 5 Feb 2023 04:41:43 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit e363525419666f03cd1f4c76dae25c8876517113
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Feb 5 10:40:59 2023 +0100

    Minimum PHP 7.4
---
 html/install.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/html/install.php b/html/install.php
index e6a44c47c..f4c5a90e9 100644
--- a/html/install.php
+++ b/html/install.php
@@ -362,12 +362,12 @@ $flag_php=0;
 if (!defined('PHP_VERSION_ID')) {
    $version = explode('.',PHP_VERSION);
 
-   define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + 
$version[2]));
+   define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 ));
 }
-if ( PHP_VERSION_ID < 70200)  {
-    echo $g_failed. " ".phpversion()." ". _("Version PHP trop basse , minimum 
7.2");
+if ( PHP_VERSION_ID < 70400)  {
+    echo $g_failed. " ".phpversion()." ". _("Version PHP trop basse , minimum 
7.4");
     echo '<p style="color:grey;margin-left:20px">';
-    printf(_("Il est déconseillé de travailler avec une version < 7.2"));
+    printf(_("Il est déconseillé de travailler avec une version < 7.4"));
     echo '</p>';
 } else {
     echo $g_succeed. " Version PHP ".phpversion();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]