add new rule

This commit is contained in:
Frédéric FRANCE
2020-05-21 00:47:16 +02:00
parent 43dcd9beb5
commit ccadb1ec7a
24 changed files with 149 additions and 366 deletions

View File

@@ -4047,8 +4047,8 @@ 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.
{
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";
$langs->load("errors");
print $langs->trans("DolibarrHasDetectedError").'. ';