From db9c6f25c042d35ca1f5f25bb3ed87ed61cf5a94 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 15 Mar 2018 09:30:25 +0100 Subject: [PATCH] Install.php --- html/install.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/html/install.php b/html/install.php index e366cb435..0919655ff 100644 --- a/html/install.php +++ b/html/install.php @@ -378,6 +378,12 @@ if ( $flag_php==0 ) { } else { echo '

'._('php mal configuré ').$failed.'

'; } + +// 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")) {