summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlink <link@localhost>2002-11-15 02:40:34 +0000
committerlink <link@localhost>2002-11-15 02:40:34 +0000
commita2eed3701ee165100e8909c975d55dbe98f51d25 (patch)
tree9842224c35878588080619279efa4dd030ebe457
parentf5e4180ceff27cf05fd425737ad39bd2042e0533 (diff)
downloadmarkup-validator-a2eed3701ee165100e8909c975d55dbe98f51d25.zip
markup-validator-a2eed3701ee165100e8909c975d55dbe98f51d25.tar.gz
markup-validator-a2eed3701ee165100e8909c975d55dbe98f51d25.tar.bz2
Apply patch from Fr?d?ric Schutz; don't clobber requested $DEBUG info from config/env with CGI. Thanks Fr?d?ric!
-rwxr-xr-xhttpd/cgi-bin/check8
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 16efe57..0c1c20d 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -9,7 +9,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.295 2002-11-14 21:10:21 link Exp $
+# $Id: check,v 1.296 2002-11-15 02:40:34 link Exp $
#
# Disable buffering on STDOUT!
@@ -95,7 +95,7 @@ BEGIN {
#
# Strings
- $VERSION = q$Revision: 1.295 $;
+ $VERSION = q$Revision: 1.296 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
@@ -157,7 +157,7 @@ $File->{'Header'} = &prepSSI({
});
$File->{'Footer'} = &prepSSI({
File => $CFG->{'Footer'},
- Date => q$Date: 2002-11-14 21:10:21 $,
+ Date => q$Date: 2002-11-15 02:40:34 $,
});
#
@@ -222,7 +222,7 @@ $File->{Opt}->{'DOCTYPE'} = $q->param('doctype') ? $q->param('doctype')
$File->{Opt}->{'URI'} = $q->param('uri') ? $q->param('uri') : '';
$File->{Opt}->{'Output'} = $q->param('output') ? $q->param('output') : 'html';
-$DEBUG = $File->{Opt}->{Debug};
+$DEBUG ||= $File->{Opt}->{Debug};
&abort_if_error_flagged($File, 0);