Revert "Update init_tr.php"

This reverts commit 1748d342d3.
This commit is contained in:
Roman Kelesidis 2023-10-19 22:32:12 +07:00
parent e15e946d8f
commit 803d5a1818

View File

@ -111,12 +111,7 @@ class sql_db
{ {
if (!$this->sql_query("SET NAMES {$this->cfg['charset']}")) if (!$this->sql_query("SET NAMES {$this->cfg['charset']}"))
{ {
$charset_error = "Could not set charset {$this->cfg['charset']}"; error_exit("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);
} }
} }