mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update init_tr.php
This commit is contained in:
parent
1748d342d3
commit
e15e946d8f
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user