Update init_tr.php

This commit is contained in:
Roman Kelesidis 2023-10-19 22:40:20 +07:00
parent 1a2ca2875b
commit 75c7c2b556

View File

@ -133,11 +133,11 @@ class sql_db
if (!$link = @$connect_type($this->cfg['dbhost'], $this->cfg['dbuser'], $this->cfg['dbpasswd']))
{
$this->log_error();
if (DBG_LOG_TRACKER)
{
dbg_log("Could not connect to {$this->engine} server {$this->cfg['dbhost']}", "{$this->cfg['dbhost']}-DB-connect-FAIL_" . time());
}
$this->log_error();
}
register_shutdown_function(array(&$this, 'close'));