dougm 2002/07/07 12:06:47
Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm
Log:
add_inc is meant for things running outside of the server,
skip when running inside mod_perl
Revision Changes Path
1.140 +1 -0
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
Index: TestConfig.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -r1.139 -r1.140
--- TestConfig.pm 1 Jul 2002 16:46:22 -0000 1.139
+++ TestConfig.pm 7 Jul 2002 19:06:47 -0000 1.140
@@ -1309,6 +1309,7 @@
sub add_inc {
my $self = shift;
+ return if $ENV{MOD_PERL}; #already setup by mod_perl
require lib;
# make sure that the Apache-Test dev libs will be first in @INC,
# followed by modperl's lib, followed by blib and finally core