The tutorial to add cron is sometimes false. Quick hack for a solution
to hide it.
This commit is contained in:
parent
32a453e8e6
commit
29f07d3e89
@ -110,6 +110,8 @@ function dol_print_cron_urls()
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
// Add note
|
// Add note
|
||||||
|
if (empty($conf->global->CRON_DISABLE_TUTORIAL_CRON))
|
||||||
|
{
|
||||||
$linuxlike=1;
|
$linuxlike=1;
|
||||||
if (preg_match('/^win/i',PHP_OS)) $linuxlike=0;
|
if (preg_match('/^win/i',PHP_OS)) $linuxlike=0;
|
||||||
if (preg_match('/^mac/i',PHP_OS)) $linuxlike=0;
|
if (preg_match('/^mac/i',PHP_OS)) $linuxlike=0;
|
||||||
@ -124,6 +126,7 @@ function dol_print_cron_urls()
|
|||||||
{
|
{
|
||||||
print $langs->trans("CronExplainHowToRunWin");
|
print $langs->trans("CronExplainHowToRunWin");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user