From 48f5c9612ed2f00550e5a0ed5219998d467a3d32 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 11 Mar 2014 20:07:54 +0100 Subject: [PATCH] Bug : no connection host must be noalyss_psql_host --- include/class_database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_database.php b/include/class_database.php index 1187e2aae..8843448ab 100644 --- a/include/class_database.php +++ b/include/class_database.php @@ -45,7 +45,7 @@ class Database $noalyss_user=(defined ("noalyss_user"))?noalyss_user:phpcompta_user; $password=(defined("noalyss_password"))?noalyss_password:phpcompta_password; $port=(defined("noalyss_psql_port"))?noalyss_psql_port:phpcompta_psql_port; - $host=( ! defined ("noalyss_psql_host") && ! defined ("phpcompta_psql_host"))?'127.0.0.1':noalyss_psql_host; + $host=( ! defined ("noalyss_psql_host") )?'127.0.0.1':noalyss_psql_host; if (defined ("MULTI") && MULTI=="0") { $noalyss_user = noalyss_user; $password = noalyss_password;