- minor fixes in update-process for ftp-quota stuff, refs #13

This commit is contained in:
Michael Kaufmann (d00p)
2010-05-01 14:08:52 +00:00
parent 43aebcccff
commit 433c8669f4
3 changed files with 17 additions and 3 deletions

View File

@@ -95,4 +95,16 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version)
$question .= $configs.'</select>';
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
}
if(versionInUpdate($current_version, '0.9.6-svn6'))
{
$has_preconfig = true;
$description = 'For the new FTP-quota feature, you can now chose the currently used ftpd-software.';
$question = '<strong>Chose ftpd-software:</strong>&nbsp;';
$question .= '<select name="update_defsys_ftpserver">';
$question .= makeoption('ProFTPd', 'proftpd', 'proftpd');
$question .= makeoption('PureFTPd', 'pureftpd', 'proftpd');
$question .= '</select>';
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
}
}