HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/share/webmin/proftpd/mod_site.pl
# mod_site.pl

sub mod_site_directives
{
local $rv = [
#	[ 'AllowChmod', 0, 3, 'virtual directory anon limit ftpaccess global', 1.20 ]
	];
return &make_directives($rv, $_[0], "mod_site");
}

sub edit_AllowChmod
{
return (1, $text{'mod_site_chmod'},
	&choice_input($_[0]->{'value'}, "AllowChmod", "",
		      "$text{'yes'},on", "$text{'no'},off",
		      "$text{'default'},"));
}
sub save_AllowChmod
{
return &parse_choice("AllowChmod", "");
}