Feature #1671 Checkbox to enable/disable PHP (vhost settings + fpm pool) for an entire vhost

This commit is contained in:
Dominic Schallert
2016-11-13 14:41:39 +01:00
parent 7e4164da26
commit b0326c640c
5 changed files with 50 additions and 1 deletions

View File

@@ -237,6 +237,7 @@ CREATE TABLE `panel_domains` (
`dkim_pubkey` text,
`wwwserveralias` tinyint(1) NOT NULL default '1',
`parentdomainid` int(11) NOT NULL default '0',
`phpenabled` tinyint(1) NOT NULL default '0',
`openbasedir` tinyint(1) NOT NULL default '0',
`openbasedir_path` tinyint(1) NOT NULL default '0',
`speciallogfile` tinyint(1) NOT NULL default '0',

View File

@@ -3513,3 +3513,14 @@ if (isFroxlorVersion('0.9.38-rc1')) {
showUpdateStep("Updating from 0.9.38-rc1 to 0.9.38-rc2", false);
updateToVersion('0.9.38-rc2');
}
if (isFroxlorVersion('0.9.38-rc2')) {
showUpdateStep("Updating from 0.9.38-rc2 to 0.9.38-rc3", false);
showUpdateStep("Updating database table definition for panel_domains");
Database::query("ALTER TABLE `" . TABLE_PANEL_DOMAINS . "` ADD `phpenabled` tinyint(1) NOT NULL default '1' AFTER `openbasedir`;");
lastStepStatus(0);
updateToVersion('0.9.38-rc3');
}