Update init_tr.php

This commit is contained in:
Roman Kelesidis 2023-10-19 22:31:48 +07:00
parent 1748d342d3
commit e15e946d8f

View File

@ -137,6 +137,10 @@ class sql_db
if (!$link = @$connect_type($this->cfg['dbhost'], $this->cfg['dbuser'], $this->cfg['dbpasswd']))
{
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();
}