From 6a1f477be9dd7484eb49b9a68efb7c0954c87815 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Wed, 23 Oct 2002 20:13:42 +0000 Subject: [PATCH] [0.05] - Disable html_errors in info sent --- run-tests.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.php b/run-tests.php index d29b147bbd..7868566fbb 100755 --- a/run-tests.php +++ b/run-tests.php @@ -249,7 +249,7 @@ define('PHP_QA_EMAIL', 'php-qa@lists.php.net'); define('QA_SUBMISSION_PAGE', 'http://qa.php.net/buildtest-process.php'); /* We got failed Tests, offer the user to send and e-mail to QA team */ -if ($sum_results['FAILED']) { +if ($sum_results['FAILED'] && !getenv("DONT_ASK_QA")) { $fp = fopen("php://stdin", "r+"); fwrite($fp, "Some tests have failed, would you like to send the\nreport to PHP's QA team? [Yn]: "); fflush($fp); @@ -281,7 +281,7 @@ if ($sum_results['FAILED']) { } $failed_tests_data .= $sep . "PHPINFO" . $sep; - $failed_tests_data .= shell_exec($php.' -i'); + $failed_tests_data .= shell_exec($php.' -dhtml_errors=0 -i'); $compression = 0; -- 2.50.1