diff --git a/dovecot/cgi_args.pl b/dovecot/cgi_args.pl new file mode 100644 index 000000000..252d9dc98 --- /dev/null +++ b/dovecot/cgi_args.pl @@ -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; +} diff --git a/dovecot/edit_manual.cgi b/dovecot/edit_manual.cgi index d137520c3..19f03f4a7 100755 --- a/dovecot/edit_manual.cgi +++ b/dovecot/edit_manual.cgi @@ -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