mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Merge branch 'master' of github.com:webmin/webmin
This commit is contained in:
10
servers/index-json.cgi
Executable file
10
servers/index-json.cgi
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/local/bin/perl
|
||||
# Return a list of other Webmin servers as JSON
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
require './servers-lib.pl';
|
||||
|
||||
# Get servers and apply search
|
||||
my @servers = &list_servers_sorted(1);
|
||||
print_json(\@servers);
|
||||
Reference in New Issue
Block a user