[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 08/73: Warning if PHPVERSION < 7.2
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 08/73: Warning if PHPVERSION < 7.2 |
Date: |
Fri, 28 May 2021 05:26:16 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 07bd46a0bb5e8f0aeba31709fe12e77fd631bbaf
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Apr 5 18:20:14 2021 +0200
Warning if PHPVERSION < 7.2
---
html/install.php | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/html/install.php b/html/install.php
index 308ae27..4f1ca1c 100644
--- a/html/install.php
+++ b/html/install.php
@@ -358,11 +358,13 @@ if (!defined('PHP_VERSION_ID')) {
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 +
$version[2]));
}
-if ( PHP_VERSION_ID < 70033) {
- echo $g_failed. " ".phpversion." ". _("Version PHP trop basse , minimum
7.0.33");
-
+if ( PHP_VERSION_ID < 70200) {
+ echo $g_failed. " ".phpversion()." ". _("Version PHP trop basse , minimum
7.2");
+ echo '<p style="color:grey;margin-left:20px">';
+ printf(_("Il est déconseillé de travailler avec une version < 7.2"));
+ echo '</p>';
} else {
- echo $g_succeed. " ".phpversion();
+ echo $g_succeed. " Version PHP ".phpversion();
}
//ini_set("memory_limit","200M");
echo "<ul style=\"list-style-type: square;\">";
- [Noalyss-commit] [noalyss] 43/73: Improve Manage_Table : align column numeric to the right by default, (continued)
- [Noalyss-commit] [noalyss] 43/73: Improve Manage_Table : align column numeric to the right by default, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 18/73: Direct Access with a Single AC (without the full path), Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 30/73: Historic : search on currency, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 26/73: Cosmetic : select_box for javascript , display the selected option, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 25/73: Cosmetic : icon in dialog box, lightblue when hover, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 46/73: Improve Sort Table ,, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 27/73: Javascript : waiting box display when exporting in PDF or CSV, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 37/73: Cosmetic improve smoke dg box, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 39/73: Bug #0001971: erreur calcul dans champ prix/unité htva, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 06/73: Cosmetic, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 08/73: Warning if PHPVERSION < 7.2,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 10/73: Cosmetic : update fontello, button inplace_edit, doc, logo and dashboad, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 16/73: Currency : add a check , upgrade version of DB, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 24/73: Bug Select_Box = problem with DIV id, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 29/73: Cosmetic : display properly currency in detail operation, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 34/73: javascript : test and improve cosmetic, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 36/73: improve captcha, replace the global variable by a "DEFINE" constant, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 41/73: Cosmetic : Card History, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 47/73: Fix block problem with font, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 49/73: Improve function display_row_custom for the custom sort key see Sorttable.js, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 50/73: Improve Manage_Table_SQL, Dany De Bontridder, 2021/05/28