fix fpm-description in english langfile; make --force command really force a regeneration of the config files by inserting the task; beautify nginx customer vhost
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -26,8 +26,10 @@ $jobs_to_run = includeCronjobs($debugHandler, $pathtophpfiles);
|
||||
if(isset($argv[1]) && strtolower($argv[1]) == '--force')
|
||||
{
|
||||
$crontasks = makeCorrectFile($pathtophpfiles.'/scripts/jobs/cron_tasks.php');
|
||||
if(!in_array($crontasks, $jobs_to_run))
|
||||
{
|
||||
// really force re-generating of config-files by
|
||||
// inserting task 1
|
||||
inserttask('1');
|
||||
if (!in_array($crontasks, $jobs_to_run)) {
|
||||
array_unshift($jobs_to_run, $crontasks);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user