fix wrong timestamp function for last_run value for lets-encrypt cron when updating; put mail/file templates to misc-category in the admin-menu; fix wrong html-tag (typo); enhance info-string for redirect-codes, fixes #1564

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-03-04 13:23:12 +01:00
parent 964a1716d7
commit 86252a22a0
4 changed files with 11 additions and 18 deletions

View File

@@ -3039,7 +3039,7 @@ if (isFroxlorVersion('0.9.34.2')) {
`cronfile` = 'letsencrypt',
`interval` = '5 MINUTE',
`desc_lng_key` = 'cron_letsencrypt',
`lastrun` = NOW(),
`lastrun` = UNIX_TIMESTAMP(),
`isactive` = 1"
);
Database::pexecute($stmt);
@@ -3108,7 +3108,7 @@ if (isFroxlorVersion('0.9.35-dev5')) {
showUpdateStep("Adding new panel_vhostconfigs table");
Database::query("DROP TABLE IF EXISTS `panel_vhostconfigs`;");
$sql = "CREATE TABLE `" . TABLE_PANEL_VHOSTCONFIGS . "` (
$sql = "CREATE TABLE `panel_vhostconfigs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`description` varchar(50) NOT NULL,
`vhostsettings` text NOT NULL,
@@ -3131,7 +3131,7 @@ if (isFroxlorVersion('0.9.35-dev6')) {
showUpdateStep("Adding a new field to the panel_vhostconfigs table");
$webserver = Settings::Get('system.webserver');
Database::query("ALTER TABLE `" . TABLE_PANEL_VHOSTCONFIGS ."` ADD `webserver` VARCHAR(255) NOT NULL DEFAULT '" . $webserver . "' AFTER `vhostsettings`;");
Database::query("ALTER TABLE `panel_vhostconfigs` ADD `webserver` VARCHAR(255) NOT NULL DEFAULT '" . $webserver . "' AFTER `vhostsettings`;");
lastStepStatus(0);
updateToVersion('0.9.35-dev7');