You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2009/09/01 20:08:12 UTC
svn commit: r810152 - /incubator/vcl/trunk/web/testsetup.php
Author: jfthomps
Date: Tue Sep 1 18:08:11 2009
New Revision: 810152
URL: http://svn.apache.org/viewvc?rev=810152&view=rev
Log:
changed checks of return from ini_get('display_errors') to handle updated return values
Modified:
incubator/vcl/trunk/web/testsetup.php
Modified: incubator/vcl/trunk/web/testsetup.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/testsetup.php?rev=810152&r1=810151&r2=810152&view=diff
==============================================================================
--- incubator/vcl/trunk/web/testsetup.php (original)
+++ incubator/vcl/trunk/web/testsetup.php Tue Sep 1 18:08:11 2009
@@ -414,9 +414,9 @@
title("Checking value of PHP display_errors");
$a = ini_get('display_errors');
print "<ul>\n";
-if($a == 'Off')
+if($a == 'Off' || $a == 'off' || $a = '')
print "<li>display_errors: <strong>disabled</strong></li>\n";
-elseif($a == 'On')
+elseif($a == 'On' || $a == 'on' || $a == 1)
print "<li>display_errors: <strong>enabled</strong></li>\n";
else
fail("failed to determine value of display_errors");