- add possibility to specify php.ini for Froxlor-Vhost (if enabled), fixes #414
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user