Introduced phpenabled_customer and phpenabled_vhost, updated cron scripts, updated dbversion

This commit is contained in:
Dominic Schallert
2016-11-13 15:15:43 +01:00
parent 1519db1637
commit e5053bad15
9 changed files with 21 additions and 22 deletions

View File

@@ -578,7 +578,7 @@ INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES
('panel', 'password_special_char', '!?<>§$%+#=@'),
('panel', 'customer_hide_options', ''),
('panel', 'version', '0.9.38-rc2'),
('panel', 'db_version', '201610070');
('panel', 'db_version', '201611130');
DROP TABLE IF EXISTS `panel_tasks`;

View File

@@ -3502,6 +3502,15 @@ if (isDatabaseVersion('201609240')) {
updateToDbVersion('201610070');
}
if (isDatabaseVersion('201610070')) {
showUpdateStep("Updating database table definition for panel_domains");
Database::query("ALTER TABLE `" . TABLE_PANEL_DOMAINS . "` ADD `phpenabled` tinyint(1) NOT NULL default '1' AFTER `parentdomainid`;");
lastStepStatus(0);
updateToDbVersion('201611130');
}
if (isFroxlorVersion('0.9.37')) {
showUpdateStep("Updating from 0.9.37 to 0.9.38-rc1", false);
@@ -3513,14 +3522,3 @@ 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 `parentdomainid`;");
lastStepStatus(0);
updateToVersion('0.9.38-rc3');
}