1
0

some debugging

This commit is contained in:
Daniel Tartavel 2022-09-09 18:58:23 +02:00
parent 9096f059c3
commit f8b7420a30

View File

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