@@ -3032,17 +3032,17 @@ if (isFroxlorVersion('0.9.34.2')) {
|
|||||||
Database::query("ALTER TABLE `".TABLE_PANEL_DOMAINS."` ADD `letsencrypt` TINYINT(1) NOT NULL DEFAULT '0' AFTER `ismainbutsubto`;");
|
Database::query("ALTER TABLE `".TABLE_PANEL_DOMAINS."` ADD `letsencrypt` TINYINT(1) NOT NULL DEFAULT '0' AFTER `ismainbutsubto`;");
|
||||||
Settings::AddNew("system.leprivatekey", 'unset');
|
Settings::AddNew("system.leprivatekey", 'unset');
|
||||||
Settings::AddNew("system.lepublickey", 'unset');
|
Settings::AddNew("system.lepublickey", 'unset');
|
||||||
showUpdateStep("Adding new cron-module for web- and traffic-reporting");
|
showUpdateStep("Adding new cron-module for Let's encrypt");
|
||||||
$stmt = Database::prepare("
|
$stmt = Database::prepare("
|
||||||
INSERT INTO `" . TABLE_PANEL_CRONRUNS . "` SET
|
INSERT INTO `" . TABLE_PANEL_CRONRUNS . "` SET
|
||||||
`module` = 'froxlor/letsencrypt',
|
`module` = 'froxlor/letsencrypt',
|
||||||
`cronfile` = 'letsencrypt',
|
`cronfile` = 'letsencrypt',
|
||||||
`interval` = '5 MINUTE',
|
`interval` = '5 MINUTE',
|
||||||
`desc_lng_key` = 'cron_letsencrypt',
|
`desc_lng_key` = 'cron_letsencrypt',
|
||||||
`lastrun` = DATE_SUB(NOW(), INTERVAL 5 MINUTE),
|
`lastrun` = DATE_SUB(NOW(), INTERVAL 5 MINUTE),
|
||||||
`isactive` = 1"
|
`isactive` = 1"
|
||||||
);
|
);
|
||||||
Database::pexecute($stmt);
|
Database::pexecute($stmt);
|
||||||
lastStepStatus(0);
|
lastStepStatus(0);
|
||||||
|
|
||||||
updateToVersion('0.9.35-dev1');
|
updateToVersion('0.9.35-dev1');
|
||||||
|
|||||||
Reference in New Issue
Block a user