Index: trunk/phase3/includes/Setup.php |
— | — | @@ -118,10 +118,8 @@ |
119 | 119 | * Workaround for http://bugs.php.net/bug.php?id=45132 |
120 | 120 | * escapeshellarg() destroys non-ASCII characters if LANG is not a UTF-8 locale |
121 | 121 | */ |
122 | | -if ( version_compare( PHP_VERSION, '5.2.6', '>=' ) ) { |
123 | | - putenv( 'LC_CTYPE=en_US.UTF-8' ); |
124 | | - setlocale( LC_CTYPE, 'en_US.UTF-8' ); |
125 | | -} |
| 122 | +putenv( 'LC_CTYPE=en_US.UTF-8' ); |
| 123 | +setlocale( LC_CTYPE, 'en_US.UTF-8' ); |
126 | 124 | |
127 | 125 | if ( !class_exists( 'AutoLoader' ) ) { |
128 | 126 | require_once( "$IP/includes/AutoLoader.php" ); |