mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
show full database url in setup, not just driver-name and show used IP in "Invalid IP address" message
This commit is contained in:
parent
cebd7eb868
commit
7a49d11e52
@ -416,7 +416,7 @@ class setup
|
||||
return True; // match
|
||||
}
|
||||
}
|
||||
$GLOBALS['egw_info']['setup']['ConfigLoginMSG'] = lang('Invalid IP address');
|
||||
$GLOBALS['egw_info']['setup']['ConfigLoginMSG'] = lang('Invalid IP address').' '.$remoteip;
|
||||
error_log(__METHOD__.'-> checking IP failed:'.print_r($remoteip,true));
|
||||
return False;
|
||||
}
|
||||
|
@ -70,7 +70,11 @@ $GLOBALS['egw_setup']->html->show_header(
|
||||
$GLOBALS['egw_info']['setup']['header_msg'],
|
||||
False,
|
||||
'config',
|
||||
$GLOBALS['egw_setup']->ConfigDomain . '(' . $GLOBALS['egw_domain'][$GLOBALS['egw_setup']->ConfigDomain]['db_type'] . ')'
|
||||
$GLOBALS['egw_setup']->ConfigDomain . ' (' . $GLOBALS['egw_domain'][$GLOBALS['egw_setup']->ConfigDomain]['db_type'].'://'.
|
||||
$GLOBALS['egw_domain'][$GLOBALS['egw_setup']->ConfigDomain]['db_user'].'@'.
|
||||
$GLOBALS['egw_domain'][$GLOBALS['egw_setup']->ConfigDomain]['db_host'].':'.
|
||||
$GLOBALS['egw_domain'][$GLOBALS['egw_setup']->ConfigDomain]['db_port'].'/'.
|
||||
$GLOBALS['egw_domain'][$GLOBALS['egw_setup']->ConfigDomain]['db_name'] . ')'
|
||||
);
|
||||
/* Add cleaning of app_sessions per skeeter, but with a check for the table being there, just in case */
|
||||
/* $GLOBALS['egw_setup']->clear_session_cache(); */
|
||||
|
Loading…
Reference in New Issue
Block a user