CGI args parser

This commit is contained in:
Jamie Cameron
2009-06-10 18:37:06 +00:00
parent 27c542a814
commit e9cb86718e
2 changed files with 12 additions and 1 deletions

12
dovecot/cgi_args.pl Normal file
View 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;
}

View File

@@ -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