some debugging
This commit is contained in:
parent
9096f059c3
commit
f8b7420a30
@ -18,9 +18,9 @@ class db extends mysqli
|
|||||||
$flagError = false;
|
$flagError = false;
|
||||||
if ($testMode)
|
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__);
|
logger(ERROR,_("Connection to sql server error :") . $this->connect_error, __FILE__ . ":" . __LINE__);
|
||||||
sleep(5);
|
sleep(5);
|
||||||
|
Loading…
Reference in New Issue
Block a user