Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.1
-
None
Description
The problem lies in the function eZGetUserInput.
Here's the patched version:
/*! prompt user to choose what to do next */ function eZGetUserInput( $prompt ) { $stdin = fopen( "php://stdin", "r+" ); $stdout = fopen( "php://stdout", "w" ); fwrite( $stdout, $prompt ); $userInput = fgets( $stdin ); $userInput = trim( $userInput, "\n\r" ); fclose( $stdin ); fclose( $stdout ); return $userInput; }
Attachments
Issue Links
- relates to
-
EZP-11663 updatetipafriendpolicy.php does not work on Windows
- Closed