Fix "Undefined index: dbi" with auth_type config and multiple servers
Fixes #14609 Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
parent
4bd3523768
commit
56640e5dc0
@ -292,6 +292,8 @@ $GLOBALS['PMA_Config']->enableBc();
|
||||
|
||||
ThemeManager::initializeTheme();
|
||||
|
||||
$GLOBALS['dbi'] = null;
|
||||
|
||||
if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
/**
|
||||
* save some settings in cookies
|
||||
@ -302,7 +304,6 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
||||
ThemeManager::getInstance()->setThemeCookie();
|
||||
|
||||
if (! empty($cfg['Server'])) {
|
||||
|
||||
/**
|
||||
* Loads the proper database interface for this server
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user