Notice: Undefined index: pma_servername in F:\07PMA\PmaStable\ libraries\auth\cookie.auth.lib.php on line 381
when called like this:
http://127.0.0.1/07PMA/PmaStable/?pma_username=root
patch:
if (! empty($_REQUEST['pma_username'])) {
// The user just logged in
$GLOBALS['PHP_AUTH_USER'] = $_REQUEST['pma_username'];
$GLOBALS['PHP_AUTH_PW'] = empty($_REQUEST['pma_password']) ? '' : $_REQUEST['pma_password'];
- if ($GLOBALS['cfg']['AllowArbitraryServer']) {
+ if ($GLOBALS['cfg']['AllowArbitraryServer'] && isset($_REQUEST['pma_servername'])) {
$GLOBALS['pma_auth_server'] = $_REQUEST['pma_servername'];
}
return true;
}
Logged In: YES
user_id=210714
Originator: NO
Merged in subversion, thanks.