mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
14 lines
254 B
Perl
Executable File
14 lines
254 B
Perl
Executable File
|
|
do 'lilo-lib.pl';
|
|
|
|
sub cgi_args
|
|
{
|
|
my ($cgi) = @_;
|
|
if ($cgi eq 'edit_image.cgi') {
|
|
my $conf = &get_lilo_conf();
|
|
my @images = ( &find("image", $conf), &find("other", $conf) );
|
|
return @images ? 'idx='.$images[0]->{'index'} : 'new=1';
|
|
}
|
|
return undef;
|
|
}
|