Better message

This commit is contained in:
Laurent Destailleur 2020-08-14 12:56:17 +02:00
parent 056a503200
commit 65ceaac42e

View File

@ -4051,7 +4051,7 @@ function dol_print_error($db = '', $error = '', $errors = null)
if (empty($dolibarr_main_prod)) print $out;
else // This should not happen, except if there is a bug somewhere. Enabled and check log in such case.
{
print 'This website or feature is currently temporarly not available.<br><br>This may be due to a maintenance operation. Current status of operation are on next line...<br><br>'."\n";
print 'This website or feature is currently temporarly not available or failed after a technical error.<br><br>This may be due to a maintenance operation. Current status of operation are on next line...<br><br>'."\n";
$langs->load("errors");
print $langs->trans("DolibarrHasDetectedError").'. ';
print $langs->trans("YouCanSetOptionDolibarrMainProdToZero");