Commit 7bc627a2 authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

add charset to language string to remove PMA warning. See #1052

parent eabfd5d1
......@@ -35,7 +35,7 @@ if (!$r=$mysql->get_dblist()) {
} else {
setcookie("REMOTE_USER",$r[0]["login"]);
setcookie("REMOTE_PASSWORD",$r[0]["pass"]);
if ($lang) $l="&lang=".substr($lang,0,2);
if ($lang) $l="&lang=".substr($lang,0,2).'-utf-8';
// TODO : make it an absolute url ! (even in httpS :))
header("Location: /admin/sql/index.php?server=1$l");
exit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment