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

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

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

--- httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestHarnessPHP.pm	2005/01/27 21:00:04	128425
+++ httpd/test/trunk/perl-framework/Apache-Test/lib/Apache/TestHarnessPHP.pm	2005/01/27 21:00:31	128426
@@ -108,8 +108,15 @@ sub _command {
 }
 
 sub _switches {
-    my $ini = catfile(Apache::Test::vars('server_root'), qw(conf php.ini));
-    return "--php-ini $ini";
+
+    my $conf = catfile(Apache::Test::vars('serverroot'), 'conf');
+
+    my $ini = catfile($conf, 'php.ini');
+
+    my $switches = join ' ', "--php-ini $ini",
+                             "--define include_path=$conf";
+
+    return $switches;
 }
 
 1;

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26