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
4ce9223993
commit
1748d342d3
@ -111,7 +111,12 @@ class sql_db
|
||||
{
|
||||
if (!$this->sql_query("SET NAMES {$this->cfg['charset']}"))
|
||||
{
|
||||
error_exit("Could not set charset {$this->cfg['charset']}");
|
||||
$charset_error = "Could not set charset {$this->cfg['charset']}";
|
||||
if (DBG_LOG)
|
||||
{
|
||||
dbg_log($charset_error, "{$this->cfg['charset']}-DB-charset-FAIL_" . time());
|
||||
}
|
||||
error_exit($charset_error);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user