More info to help debug
This commit is contained in:
parent
ed81c3f875
commit
6e19d09a66
1 changed files with 4 additions and 1 deletions
|
|
@ -5810,7 +5810,7 @@ function info_admin($text, $infoonimgalt = 0, $nodiv = 0, $admin = '1', $morecss
|
|||
*/
|
||||
function dol_print_error($db = null, $error = '', $errors = null)
|
||||
{
|
||||
global $conf, $langs, $argv;
|
||||
global $conf, $langs, $user, $argv;
|
||||
global $dolibarr_main_prod;
|
||||
|
||||
$out = '';
|
||||
|
|
@ -5838,6 +5838,9 @@ function dol_print_error($db = null, $error = '', $errors = null)
|
|||
if (isset($conf->global->MAIN_FEATURES_LEVEL)) {
|
||||
$out .= "<b>".$langs->trans("LevelOfFeature").":</b> ".getDolGlobalInt('MAIN_FEATURES_LEVEL')."<br>\n";
|
||||
}
|
||||
if ($user instanceof User) {
|
||||
$out .= "<b>".$langs->trans("Login").":</b> ".$user->login."<br>\n";
|
||||
}
|
||||
if (function_exists("phpversion")) {
|
||||
$out .= "<b>".$langs->trans("PHP").":</b> ".phpversion()."<br>\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue