- add possibility to specify php.ini for Froxlor-Vhost (if enabled), fixes #414

This commit is contained in:
Michael Kaufmann (d00p)
2010-09-28 09:21:13 +00:00
parent 984849d2c8
commit d3cd83eb93
8 changed files with 116 additions and 37 deletions

View File

@@ -1072,3 +1072,16 @@ if(isFroxlorVersion('0.9.13-svn1'))
updateToVersion('0.9.13');
}
if(isFroxlorVersion('0.9.13'))
{
showUpdateStep("Updating from 0.9.13 to 0.9.14-svn1", false);
$update_defaultini_ownvhost = isset($_POST['update_defaultini_ownvhost']) ? (int)$_POST['update_defaultini_ownvhost'] : 1;
showUpdateStep("Adding settings for Froxlor-vhost's PHP-configuration");
$db->query("INSERT INTO `" . TABLE_PANEL_SETTINGS . "` (`settinggroup`, `varname`, `value`) VALUES ('system', 'mod_fcgid_defaultini_ownvhost', '".(int)$update_defaultini_ownvhost."');");
lastStepStatus(0);
updateToVersion('0.9.14-svn1');
}