mirror of
https://github.com/webmin/webmin.git
synced 2026-02-06 23:42:21 +00:00
16 lines
260 B
Perl
Executable File
16 lines
260 B
Perl
Executable File
|
|
use strict;
|
|
use warnings;
|
|
do 'servers-lib.pl';
|
|
our (%access);
|
|
|
|
sub cgi_args
|
|
{
|
|
my ($cgi) = @_;
|
|
if ($cgi eq 'edit_serv.cgi' && $access{'edit'}) {
|
|
my @servers = &list_servers();
|
|
return @servers ? 'id='.&urlize($servers[0]->{'id'}) : 'none';
|
|
}
|
|
return undef;
|
|
}
|