|
From: Sam S. <sa...@us...> - 2002-03-08 23:31:10
|
The below moves the user Config section above all the POD. Having it below
is worse than having all the ChangeLog stuff there since we
actually expect people to read the POD (well, we probably should) by
a means other than their favourite text editor.
Also, whoever checked in the removal of all the Changes lines
should probably also checkin the CHANGELOG file which isn't there
in CVS but is referenced from FormMail.pl .
Sam
Index: FormMail.pl
===================================================================
RCS file: /cvsroot/nms-cgi/formmail/FormMail.pl,v
retrieving revision 1.50
diff -u -r1.50 FormMail.pl
--- FormMail.pl 7 Mar 2002 23:00:05 -0000 1.50
+++ FormMail.pl 8 Mar 2002 23:27:04 -0000
@@ -24,6 +24,37 @@
# For help on configuration or installation see README
#
+
+# USER CONFIGURATION SECTION
+# --------------------------
+# Modify these to your own settings. You might have to
+# contact your system administrator if you do not run
+# your own web server. If the purpose of these
+# parameters seems unclear, please see the README file.
+#
+BEGIN { $DEBUGGING = 1; }
+my $emulate_matts_code= 0;
+my $secure = 1;
+my $mailprog = '/usr/lib/sendmail -oi -t';
+my @referers = qw(dave.org.uk 209.207.222.64 localhost);
+my @allow_mail_to = qw(yo...@yo... som...@yo... localhost);
+my @recipients = ();
+my @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
+my $date_fmt = '%A, %B %d, %Y at %H:%M:%S';
+my $style = '/css/nms.css';
+my $send_confirmation_mail = 0;
+my $confirmation_text = <<'END_OF_CONFIRMATION';
+From: yo...@yo...
+Subject: form submission
+
+Thank you for your form submission.
+
+END_OF_CONFIRMATION
+#
+# USER CONFIGURATION << END >>
+# ----------------------------
+# (no user serviceable parts beyond here)
+
=head1 COPYRIGHT
FormMail Version 1.00
@@ -447,37 +478,6 @@
nms...@li...
=cut
-
-
-# USER CONFIGURATION SECTION
-# --------------------------
-# Modify these to your own settings. You might have to
-# contact your system administrator if you do not run
-# your own web server. If the purpose of these
-# parameters seems unclear, please see the README file.
-#
-BEGIN { $DEBUGGING = 1; }
-my $emulate_matts_code= 0;
-my $secure = 1;
-my $mailprog = '/usr/lib/sendmail -oi -t';
-my @referers = qw(dave.org.uk 209.207.222.64 localhost);
-my @allow_mail_to = qw(yo...@yo... som...@yo... localhost);
-my @recipients = ();
-my @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
-my $date_fmt = '%A, %B %d, %Y at %H:%M:%S';
-my $style = '/css/nms.css';
-my $send_confirmation_mail = 0;
-my $confirmation_text = <<'END_OF_CONFIRMATION';
-From: yo...@yo...
-Subject: form submission
-
-Thank you for your form submission.
-
-END_OF_CONFIRMATION
-#
-# USER CONFIGURATION << END >>
-# ----------------------------
-# (no user serviceable parts beyond here)
# We don't need file uploads or very large POST requests.
|