Stop and start ftp helpers as necessary

This commit is contained in:
Scott Ullrich 2005-06-25 17:47:46 +00:00
parent c17b1f3cc4
commit 2bae67ba0a

View File

@ -93,8 +93,10 @@ if ($_POST) {
if($_POST['disableftpproxy'] == "yes") {
$config['system']['disableftpproxy'] = "enabled";
unset($config['system']['rfc959workaround']);
system_start_ftp_helpers();
} else {
unset($config['system']['disableftpproxy']);
mwexec("/usr/bin/killall pftpx");
}
if($_POST['rfc959workaround'] == "yes")
$config['system']['rfc959workaround'] = "enabled";