blob: 55fec1162468cea669a09cfdb32017bad70b99e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- httpd/cgi-bin/check.orig 2012-03-12 15:03:14 UTC
+++ httpd/cgi-bin/check
@@ -94,7 +94,7 @@ use constant IS_MODPERL2 =>
# (such as mod_perl); so let's do the globals, eg. read config, here.
BEGIN {
- my $base = $ENV{W3C_VALIDATOR_HOME} || '/usr/local/validator';
+ my $base = $ENV{W3C_VALIDATOR_HOME} || '%%WWWDIR%%';
# Launder data for -T; -AutoLaunder doesn't catch this one.
if ($base =~ /^(.*)$/) {
@@ -106,7 +106,7 @@ BEGIN {
eval {
my %config_opts = (
-ConfigFile =>
- ($ENV{W3C_VALIDATOR_CFG} || '/etc/w3c/validator.conf'),
+ ($ENV{W3C_VALIDATOR_CFG} || '%%WWWDIR%%/htdocs/config/validator.conf'),
-MergeDuplicateOptions => TRUE,
-MergeDuplicateBlocks => TRUE,
-SplitPolicy => 'equalsign',
|