You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by pg...@apache.org on 2008/05/12 23:46:50 UTC
svn commit: r655659 - in /perl/Apache-Test/trunk: Changes
lib/Apache/TestConfigPHP.pm
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 <MA...@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 <MA...@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);