From f8b7420a30be3f98f56b1a9e2691b2eba5bb628d Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 9 Sep 2022 18:58:23 +0200 Subject: [PATCH] some debugging --- class/db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class/db.php b/class/db.php index df1c118..947da0e 100644 --- a/class/db.php +++ b/class/db.php @@ -18,9 +18,9 @@ class db extends mysqli $flagError = false; if ($testMode) { - $this->mysqlServer = "192.168.1.253"; // Your test server + $mysqlServer = "192.168.1.253"; // Your test server } - while ($this->connect($this->mysqlServer, $this->username, $this->passwd, $this->database) === false) + while ($this->connect($mysqlServer, $username, $passwd, $database) === false) { logger(ERROR,_("Connection to sql server error :") . $this->connect_error, __FILE__ . ":" . __LINE__); sleep(5);