add possibility to allow customers to select a shell for their ftp-users, with great thanks to KAPPER NETWORK-COMMUNICATIONS GmbH - kapper.net

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-08-26 10:46:15 +02:00
parent 11b2d0e1d2
commit 45b6d8d571
11 changed files with 103 additions and 11 deletions

View File

@@ -3415,3 +3415,13 @@ if (isFroxlorVersion('0.9.37-rc1')) {
showUpdateStep("Updating from 0.9.37-rc1 to 0.9.37 final", false);
updateToVersion('0.9.37');
}
if (isDatabaseVersion('201607210')) {
showUpdateStep("Adding new settings for customer shell option");
Settings::AddNew("system.allow_customer_shell", "0");
Settings::AddNew("system.available_shells", "");
lastStepStatus(0);
updateToDbVersion('201608260');
}