mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
e15e946d8f
commit
803d5a1818
@ -111,12 +111,7 @@ class sql_db
|
||||
{
|
||||
if (!$this->sql_query("SET NAMES {$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);
|
||||
error_exit("Could not set charset {$this->cfg['charset']}");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user