perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1852985 - /perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm
Date Tue, 05 Feb 2019 10:42:10 GMT
Author: jorton
Date: Tue Feb  5 10:42:10 2019
New Revision: 1852985

URL: http://svn.apache.org/viewvc?rev=1852985&view=rev
Log:
Inherit config via IncludeOptional as well as Include.

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm?rev=1852985&r1=1852984&r2=1852985&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfigParse.pm Tue Feb  5 10:42:10 2019
@@ -342,7 +342,7 @@ sub inherit_config_file_or_directory {
 
         (my $directive, $_) = split /\s+/, $_, 2;
 
-        if ($directive eq "Include") {
+        if ($directive eq "Include" or $directive eq "IncludeOptional") {
             foreach my $include (glob($self->server_file_rel2abs($_))) {
                 $self->inherit_config_file_or_directory($include);
             }



Mime
View raw message