Reload language file after switch to utf-8 translation (bug #1442605).

This commit is contained in:
Michal Čihař
2006-04-27 12:13:52 +00:00
parent bfec931486
commit 9f8afc5d4e
5 changed files with 26 additions and 2 deletions

View File

@@ -835,6 +835,7 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
if (!empty($GLOBALS['available_languages'][$lang_utf_8_version])) {
$GLOBALS['lang'] = $lang_utf_8_version;
$GLOBALS['charset'] = 'utf-8';
define('PMA_LANG_RELOAD', 1);
}
}