Fix MAIN_MESSAGE_INSTALL_MODULES_DISABLED_CONTACT_US
This commit is contained in:
parent
c0c057197a
commit
9cd9150529
@ -1123,7 +1123,11 @@ if ($mode == 'deploy') {
|
|||||||
} else {
|
} else {
|
||||||
if (getDolGlobalString('MAIN_MESSAGE_INSTALL_MODULES_DISABLED_CONTACT_US')) {
|
if (getDolGlobalString('MAIN_MESSAGE_INSTALL_MODULES_DISABLED_CONTACT_US')) {
|
||||||
// Show clean message
|
// Show clean message
|
||||||
$message = info_admin($langs->trans('InstallModuleFromWebHasBeenDisabledContactUs'));
|
if (!is_numeric('MAIN_MESSAGE_INSTALL_MODULES_DISABLED_CONTACT_US')) {
|
||||||
|
$message = info_admin($langs->trans(getDolGlobalString('MAIN_MESSAGE_INSTALL_MODULES_DISABLED_CONTACT_US')));
|
||||||
|
} else {
|
||||||
|
$message = info_admin($langs->trans('InstallModuleFromWebHasBeenDisabledContactUs'));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Show technical message
|
// Show technical message
|
||||||
$message = info_admin($langs->trans("InstallModuleFromWebHasBeenDisabledByFile", $dolibarrdataroot.'/installmodules.lock'));
|
$message = info_admin($langs->trans("InstallModuleFromWebHasBeenDisabledByFile", $dolibarrdataroot.'/installmodules.lock'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user