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