Project

General

Profile

Bug #23596 ยป locales.diff

Administrator Admin, 2010-09-24 12:22

View differences:

typo3/cli_dispatch.phpsh (working copy)
*
*/
// makes sure that the locales from the shell are not used
setlocale(LC_ALL, 'C');
if (substr(php_sapi_name(), 0, 3) == 'cgi') {
// sanity check: ensure that we're running in a shell or cronjob (and NOT via HTTP)
$checkEnvVars = array('HTTP_USER_AGENT', 'HTTP_HOST', 'SERVER_NAME', 'REMOTE_ADDR', 'REMOTE_PORT', 'SERVER_PROTOCOL');
    (1-1/1)