mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
fixes #384 use built-in functions to set charset
This commit is contained in:
@@ -53,7 +53,7 @@ function pwg_db_check_charset()
|
||||
{
|
||||
$db_charset = DB_CHARSET;
|
||||
}
|
||||
pwg_query('SET NAMES "'.$db_charset.'"');
|
||||
mysql_set_charset($db_charset);
|
||||
}
|
||||
|
||||
function pwg_db_check_version()
|
||||
|
||||
Reference in New Issue
Block a user