noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/12: Install.php


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/12: Install.php
Date: Fri, 16 Mar 2018 16:28:25 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit db9c6f25c042d35ca1f5f25bb3ed87ed61cf5a94
Author: Dany De Bontridder <address@hidden>
Date:   Thu Mar 15 09:30:25 2018 +0100

    Install.php
---
 html/install.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/html/install.php b/html/install.php
index e366cb4..0919655 100644
--- a/html/install.php
+++ b/html/install.php
@@ -378,6 +378,12 @@ if ( $flag_php==0 ) {
 } else {
        echo '<p class="warning"> '._('php mal configuré ').$failed.' </p>';
 }
+
+// Check that the module for postgres is installed before testing the version
+if (! function_exists("pg_connect")) {
+    echo _("Module php-pgsql n'est pas installé");
+    return;
+}
 /* check user */
 if ( (defined("MULTI") && MULTI==1)|| !defined("MULTI"))
 {



reply via email to

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