perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r655659 - in /perl/Apache-Test/trunk: Changes lib/Apache/TestConfigPHP.pm
Date Mon, 12 May 2008 21:46:50 GMT
Author: pgollucci
Date: Mon May 12 14:46:50 2008
New Revision: 655659

URL: http://svn.apache.org/viewvc?rev=655659&view=rev
Log:
PR: 32994
Submitted by: MAHEX <MAHEX@cpan.org> 
Reviewed by: pgollucci
Tweaked by: pgollucci

Don't over write php.ini if it already exists


Modified:
    perl/Apache-Test/trunk/Changes
    perl/Apache-Test/trunk/lib/Apache/TestConfigPHP.pm

Modified: perl/Apache-Test/trunk/Changes
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/Changes?rev=655659&r1=655658&r2=655659&view=diff
==============================================================================
--- perl/Apache-Test/trunk/Changes (original)
+++ perl/Apache-Test/trunk/Changes Mon May 12 14:46:50 2008
@@ -8,6 +8,9 @@
 
 =item 1.31-dev
 
+Don't overwrite php.ini if it already exists
+PR: 32994
+[MAHEX <MAHEX@cpan.org>]
 
 =item 1.30 November 26, 2007
 

Modified: perl/Apache-Test/trunk/lib/Apache/TestConfigPHP.pm
URL: http://svn.apache.org/viewvc/perl/Apache-Test/trunk/lib/Apache/TestConfigPHP.pm?rev=655659&r1=655658&r2=655659&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestConfigPHP.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestConfigPHP.pm Mon May 12 14:46:50 2008
@@ -169,6 +169,9 @@
 
     my $dir  = catfile $self->{vars}->{serverroot}, 'conf';
     my $file = catfile $dir, 'php.ini';
+
+    return if -e $file
+
     my $log  = catfile $self->{vars}->{t_logs}, 'error_log';
 
     $self->gendir($dir);



Mime
View raw message