mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
CGI args parser
This commit is contained in:
12
dovecot/cgi_args.pl
Normal file
12
dovecot/cgi_args.pl
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
do 'dovecot-lib.pl';
|
||||
|
||||
sub cgi_args
|
||||
{
|
||||
my ($cgi) = @_;
|
||||
if ($cgi =~ /^edit_/) {
|
||||
# All edit_*.cgi files can be linked to
|
||||
return '';
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
# Show a page for manually editing dovecot.conf
|
||||
|
||||
require './dovecot-lib.pl';
|
||||
&ReadParse();
|
||||
&ui_print_header(undef, $text{'manual_title'}, "");
|
||||
|
||||
# Show the file contents
|
||||
|
||||
Reference in New Issue
Block a user