mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
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:
parent
9f6ed48362
commit
05e19df994
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue