Add date in error output
This commit is contained in:
parent
f8fd7e35ac
commit
af7b8fed4e
@ -1553,6 +1553,7 @@ function dolibarr_print_error($db='',$error='')
|
||||
print $langs->trans("InformationToHelpDiagnose").":<br><br>\n";
|
||||
|
||||
print "<b>".$langs->trans("Dolibarr").":</b> ".DOL_VERSION."<br>\n";;
|
||||
print "<b>".$langs->trans("Date").":</b> ".dolibarr_print_date(time(),'dayhourlog')."<br>\n";;
|
||||
if (isset($conf->global->MAIN_FEATURES_LEVEL)) print "<b>".$langs->trans("LevelOfFeature").":</b> ".$conf->global->MAIN_FEATURES_LEVEL."<br>\n";;
|
||||
print "<b>".$langs->trans("Server").":</b> ".$_SERVER["SERVER_SOFTWARE"]."<br>\n";;
|
||||
print "<b>".$langs->trans("RequestedUrl").":</b> ".$_SERVER["REQUEST_URI"]."<br>\n";;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user