Skip to content

Commit

Permalink
Fix: the visible version was not enough to know version of dolibarr. We
Browse files Browse the repository at this point in the history
also need the MAIN_FEATURES_LEVEL.
  • Loading branch information
eldy committed Mar 13, 2015
1 parent 51c877e commit bc3f9bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/functions.lib.php
Expand Up @@ -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";
Expand Down
1 change: 1 addition & 0 deletions htdocs/main.inc.php
Expand Up @@ -1444,6 +1444,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
else $appli.=" ".DOL_VERSION;
}
else $appli.=" ".DOL_VERSION;
if (! empty($conf->global->MAIN_FEATURES_LEVEL)) $appli.="<br>".$langs->trans("LevelOfFeature").': '.$conf->global->MAIN_FEATURES_LEVEL;

$logouttext='';
$logouthtmltext=$appli.'<br>';
Expand Down

0 comments on commit bc3f9bf

Please sign in to comment.