2
0
forked from Wavyzz/dolibarr

Fix: the visible version was not enough to know version of dolibarr. We

also need the MAIN_FEATURES_LEVEL.
This commit is contained in:
Laurent Destailleur
2015-03-13 18:11:31 +01:00
parent 51c877e32c
commit bc3f9bf800
2 changed files with 2 additions and 1 deletions

View File

@@ -2411,7 +2411,7 @@ function dol_print_error($db='',$error='')
if ($_SERVER['DOCUMENT_ROOT']) // Mode web
{
$out.=$langs->trans("DolibarrHasDetectedError").".<br>\n";
if (! empty($conf->global->MAIN_FEATURES_LEVEL)) $out.="You use an experimental level of features, so please do NOT report any bugs, except if problem is confirmed moving option MAIN_FEATURES_LEVEL back to 0.<br>\n";
if (! empty($conf->global->MAIN_FEATURES_LEVEL)) $out.="You use an experimental or develop level of features, so please do NOT report any bugs, except if problem is confirmed moving option MAIN_FEATURES_LEVEL back to 0.<br>\n";
$out.=$langs->trans("InformationToHelpDiagnose").":<br>\n";
$out.="<b>".$langs->trans("Date").":</b> ".dol_print_date(time(),'dayhourlog')."<br>\n";