[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: Bug : no connection host must be noaly
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: Bug : no connection host must be noalyss_psql_host |
Date: |
Tue, 11 Mar 2014 19:10:49 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 48f5c9612ed2f00550e5a0ed5219998d467a3d32
Author: Dany De Bontridder <address@hidden>
Date: Tue Mar 11 20:07:54 2014 +0100
Bug : no connection host must be noalyss_psql_host
---
include/class_database.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/class_database.php b/include/class_database.php
index 1187e2a..8843448 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;