From 05e19df994da35c965604d210694afdcbe439523 Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Fri, 9 May 2008 21:28:38 +0000 Subject: [PATCH] Fixing PHP4 subversion required to do special processing on CLIReporter git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6782 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/lib/cli_reporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/lib/cli_reporter.php b/cake/tests/lib/cli_reporter.php index bc63a6473..f65c1c023 100644 --- a/cake/tests/lib/cli_reporter.php +++ b/cake/tests/lib/cli_reporter.php @@ -34,7 +34,7 @@ define('ST_FAILS_RETURN_CODE', 1); } - if (version_compare(phpversion(), '4.3.0', '<') || + if (version_compare(phpversion(), '4.4.4', '<=') || php_sapi_name() == 'cgi') { define('STDOUT', fopen('php://stdout', 'w')); define('STDERR', fopen('php://stderr', 'w'));