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
This commit is contained in:
mariano.iglesias 2008-05-09 21:28:38 +00:00
parent 9f6ed48362
commit 05e19df994

View file

@ -34,7 +34,7 @@
define('ST_FAILS_RETURN_CODE', 1); define('ST_FAILS_RETURN_CODE', 1);
} }
if (version_compare(phpversion(), '4.3.0', '<') || if (version_compare(phpversion(), '4.4.4', '<=') ||
php_sapi_name() == 'cgi') { php_sapi_name() == 'cgi') {
define('STDOUT', fopen('php://stdout', 'w')); define('STDOUT', fopen('php://stdout', 'w'));
define('STDERR', fopen('php://stderr', 'w')); define('STDERR', fopen('php://stderr', 'w'));