Handle hostnames with upper-case letters
[webmin.git] / logrotate / cgi_args.pl
1
2 do 'logrotate-lib.pl';
3
4 sub cgi_args
5 {
6 my ($cgi) = @_;
7 if ($cgi eq 'edit_log.cgi') {
8         my $conf = &get_config();
9         my ($l) = grep { $_->{'members'} } @$conf;
10         return $l ? 'idx='.$l->{'index'} : 'new=1';
11         }
12 return undef;
13 }