noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 12/46: Minimum version : PHP 7.0 and PostgreS


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 12/46: Minimum version : PHP 7.0 and PostgreSQL 9.5
Date: Mon, 4 May 2020 13:38:44 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 397892effae65641b44f9242530da9475d4ea52d
Author: Dany De Bontridder <address@hidden>
AuthorDate: Sat Feb 22 11:13:23 2020 +0100

    Minimum version : PHP 7.0 and PostgreSQL 9.5
---
 html/install.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/html/install.php b/html/install.php
index c8b188d..b56adf7 100644
--- a/html/install.php
+++ b/html/install.php
@@ -316,8 +316,8 @@ if (!defined('PHP_VERSION_ID')) {
 
    define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + 
$version[2]));
 }
-if ( PHP_VERSION_ID < 50500)  {
-    echo $g_failed. " ".phpversion." ". _("Version PHP trop basse , minimum 
5.4");
+if ( PHP_VERSION_ID < 70033)  {
+    echo $g_failed. " ".phpversion." ". _("Version PHP trop basse , minimum 
7.0.33");
     
 } else {
     echo $g_succeed. " ".phpversion();
@@ -420,10 +420,10 @@ $version=$cn->get_value($sql);
 
 echo _("Version base de données :"),$version;
 $majeur=explode(".",$version);
-if ( $majeur[0] < 9 )
+if ( $majeur[0] < 9 && $majeur[0] < 5 )
   {
 ?>
-  <p><?php echo $failed . _(" Vous devez absolument utiliser au minimum une 
version 9.0 de PostGresql, si votre distribution n'en
+  <p><?php echo $failed . _(" Vous devez absolument utiliser au minimum une 
version 9.5 de PostGresql, si votre distribution n'en
 offre pas, installez-en une en la compilant. Lisez attentivement la notice sur 
postgresql.org pour migrer
 vos bases de données")?>
 </p>



reply via email to

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