mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-24 02:11:27 +01:00
A better message when database is off.
This commit is contained in:
@@ -3865,6 +3865,8 @@ function dol_print_error($db = '', $error = '', $errors = null)
|
|||||||
if (empty($dolibarr_main_prod)) print $out;
|
if (empty($dolibarr_main_prod)) print $out;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
print 'This website is currently temporarly offline. 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("DolibarrHasDetectedError").'. ';
|
||||||
print $langs->trans("YouCanSetOptionDolibarrMainProdToZero");
|
print $langs->trans("YouCanSetOptionDolibarrMainProdToZero");
|
||||||
define("MAIN_CORE_ERROR", 1);
|
define("MAIN_CORE_ERROR", 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user