Files
webmin/logrotate/cgi_args.pl
Jamie Cameron 9dbd5db2c9 Fix permissions
2009-07-20 23:42:32 -07:00

14 lines
221 B
Perl
Executable File

do 'logrotate-lib.pl';
sub cgi_args
{
my ($cgi) = @_;
if ($cgi eq 'edit_log.cgi') {
my $conf = &get_config();
my ($l) = grep { $_->{'members'} } @$conf;
return $l ? 'idx='.$l->{'index'} : 'new=1';
}
return undef;
}