allow customization of umask in php-fcgi-starter scripts, refs #1486

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2015-07-31 13:20:31 +02:00
parent 5136824844
commit 6abe0bdaec
7 changed files with 26 additions and 4 deletions

View File

@@ -2984,3 +2984,15 @@ if (isFroxlorVersion('0.9.34-dev2')) {
updateToVersion('0.9.34-dev3');
}
}
if (isFroxlorVersion('0.9.34-dev3')) {
showUpdateStep("Updating from 0.9.34-dev3 to 0.9.34-dev4", false);
showUpdateStep("Adding field umask to phpconfig table");
Database::query("ALTER TABLE `".TABLE_PANEL_PHPCONFIGS."` ADD `mod_fcgid_umask` varchar(15) NOT NULL DEFAULT '022' AFTER `mod_fcgid_maxrequests`");
lastStepStatus(0);
updateToVersion('0.9.34-dev4');
}