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
803d5a1818
commit
c3aa57fb86
@ -42,7 +42,7 @@ function silent_exit ()
|
||||
|
||||
function error_exit ($msg = '')
|
||||
{
|
||||
if (DBG_LOG_TRACKER) dbg_log(' ', '!err-'. clean_filename($msg));
|
||||
if (DBG_LOG_TRACKER) dbg_log($msg, '!err-' . $msg . time());
|
||||
|
||||
silent_exit();
|
||||
|
||||
@ -111,6 +111,7 @@ class sql_db
|
||||
{
|
||||
if (!$this->sql_query("SET NAMES {$this->cfg['charset']}"))
|
||||
{
|
||||
$this->log_error();
|
||||
error_exit("Could not set charset {$this->cfg['charset']}");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user