/[Apache-SVN]/httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm
ViewVC logotype

Diff of /httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm	2004/12/14 00:45:41	111770
+++ httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm	2004/12/14 00:56:35	111771
@@ -431,7 +431,7 @@ sub get_httpd_defines {
         $self->{mpm} = '';
     }
 
-    if ($self->{httpd_info}->{VERSION} =~ qr,Apache/2,) {
+    if (($self->{httpd_info}->{VERSION}||'') =~ qr,Apache/2,) {
         # PHP 4.x on httpd-2.x needs a special modname alias;
         $modname_alias{'mod_php4.c'} = 'sapi_apache2.c';
     }

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26