Add a notice if the module cron is disabled
This commit is contained in:
parent
224e82f9fa
commit
904554a0e1
3 changed files with 7 additions and 0 deletions
|
@ -166,6 +166,11 @@ else
|
|||
{
|
||||
print '<br>'.$langs->trans("NothingToSetup");
|
||||
}
|
||||
|
||||
// Display a notice if the 'cron' module is not enabled
|
||||
if (! in_array('cron', $conf->modules, true)) {
|
||||
print '<div class="info"><p>' . $langs->trans('NoticeCronIsDisabled') . "</p></div>\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue