From af7b8fed4e3dd718d01536840149185b4a7d971f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 18 Oct 2008 15:43:10 +0000 Subject: [PATCH] Add date in error output --- htdocs/lib/functions.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index ee9e7018df6..456855be08a 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -1553,6 +1553,7 @@ function dolibarr_print_error($db='',$error='') print $langs->trans("InformationToHelpDiagnose").":

\n"; print "".$langs->trans("Dolibarr").": ".DOL_VERSION."
\n";; + print "".$langs->trans("Date").": ".dolibarr_print_date(time(),'dayhourlog')."
\n";; if (isset($conf->global->MAIN_FEATURES_LEVEL)) print "".$langs->trans("LevelOfFeature").": ".$conf->global->MAIN_FEATURES_LEVEL."
\n";; print "".$langs->trans("Server").": ".$_SERVER["SERVER_SOFTWARE"]."
\n";; print "".$langs->trans("RequestedUrl").": ".$_SERVER["REQUEST_URI"]."
\n";;