add charset to language string to remove PMA warning. See #1052
This commit is contained in:
parent
eabfd5d1c9
commit
7bc627a203
|
@ -35,7 +35,7 @@ if (!$r=$mysql->get_dblist()) {
|
||||||
} else {
|
} else {
|
||||||
setcookie("REMOTE_USER",$r[0]["login"]);
|
setcookie("REMOTE_USER",$r[0]["login"]);
|
||||||
setcookie("REMOTE_PASSWORD",$r[0]["pass"]);
|
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 :))
|
// TODO : make it an absolute url ! (even in httpS :))
|
||||||
header("Location: /admin/sql/index.php?server=1$l");
|
header("Location: /admin/sql/index.php?server=1$l");
|
||||||
exit();
|
exit();
|
||||||
|
|
Loading…
Reference in New Issue