mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
16 lines
231 B
Perl
Executable File
16 lines
231 B
Perl
Executable File
|
|
use strict;
|
|
use warnings;
|
|
do 'backup-config-lib.pl';
|
|
|
|
sub cgi_args
|
|
{
|
|
my ($cgi) = @_;
|
|
if ($cgi eq 'edit.cgi') {
|
|
my @backups = &list_backups();
|
|
return @backups ? 'id='.&urlize($backups[0]->{'id'})
|
|
: 'new=1';
|
|
}
|
|
return undef;
|
|
}
|