Vhost templates: Added a field to select the target webserver

This commit is contained in:
Johannes Feichtner
2016-02-27 20:18:16 +01:00
parent 9f85074876
commit 088eef9728
9 changed files with 97 additions and 96 deletions

View File

@@ -3124,3 +3124,15 @@ if (isFroxlorVersion('0.9.35-dev5')) {
updateToVersion('0.9.35-dev6');
}
if (isFroxlorVersion('0.9.35-dev6')) {
showUpdateStep("Updating from 0.9.35-dev6 to 0.9.35-dev7", false);
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`;");
lastStepStatus(0);
updateToVersion('0.9.35-dev7');
}