Bug : no connection host must be noalyss_psql_host

This commit is contained in:
Dany De Bontridder 2014-03-11 20:07:54 +01:00
parent f020c900bf
commit 48f5c9612e

View file

@ -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;