| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/apache/ |
Upload File : |
#!/usr/bin/perl
# save_sync.cgi
# Save user synchronisation options
require './apache-lib.pl';
require './auth-lib.pl';
&ReadParse();
&allowed_auth_file($in{'file'}) || &error(&text('authu_ecannot', $in{'file'}));
$in{'sync'} =~ s/\0/ /g;
if ($in{'sync'}) {
$config{"sync_$in{'file'}"} = $in{'sync'};
}
else {
delete($config{"sync_$in{'file'}"});
}
&write_file("$module_config_directory/config", \%config);
&redirect("list_authusers.cgi?file=$in{'file'}&url=".&urlize($in{'url'}));