mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Add CGI args parser
This commit is contained in:
@@ -6,7 +6,7 @@ sub cgi_args
|
||||
my ($cgi) = @_;
|
||||
if ($cgi eq 'search.cgi') {
|
||||
# Example search
|
||||
return 'search=net';
|
||||
return 'search=ssh';
|
||||
}
|
||||
elsif ($cgi eq 'edit_pack.cgi' || $cgi eq 'list_pack.cgi') {
|
||||
# Package for /bin/ls
|
||||
|
||||
Reference in New Issue
Block a user