[BUGFIX] Properly define constant in CliBootstrap 54/35154/2
authorMarkus Klein <klein.t3@reelworx.at>
Mon, 8 Dec 2014 01:10:37 +0000 (02:10 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 8 Dec 2014 08:35:14 +0000 (09:35 +0100)
Resolves: #63649
Releases: master, 6.2
Change-Id: I17dc3b8e868c1b49511fd5e039f8e37bd9d91a55
Reviewed-on: http://review.typo3.org/35154
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Core/CliBootstrap.php

index 2bc4d2d..10acddf 100644 (file)
@@ -95,9 +95,9 @@ class CliBootstrap {
                ini_set('html_errors', 0);
                ini_set('implicit_flush', 1);
                ini_set('max_execution_time', 0);
-               define(STDIN, fopen('php://stdin', 'r'));
-               define(STDOUT, fopen('php://stdout', 'w'));
-               define(STDERR, fopen('php://stderr', 'w'));
+               define('STDIN', fopen('php://stdin', 'r'));
+               define('STDOUT', fopen('php://stdout', 'w'));
+               define('STDERR', fopen('php://stderr', 'w'));
        }
 
 }