Projet

Général

Profil

Révision b4adf10d

Ajouté par Assos Assos il y a plus de 9 ans

Udpate to 7.33

Voir les différences:

drupal7/includes/unicode.inc
116 116
  if (ini_get('mbstring.encoding_translation') != 0) {
117 117
    return array(UNICODE_ERROR, $t('Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini <em>mbstring.encoding_translation</em> setting. Please refer to the <a href="@url">PHP mbstring documentation</a> for more information.', array('@url' => 'http://www.php.net/mbstring')));
118 118
  }
119
  if (ini_get('mbstring.http_input') != 'pass') {
120
    return array(UNICODE_ERROR, $t('Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini <em>mbstring.http_input</em> setting. Please refer to the <a href="@url">PHP mbstring documentation</a> for more information.', array('@url' => 'http://www.php.net/mbstring')));
121
  }
122
  if (ini_get('mbstring.http_output') != 'pass') {
123
    return array(UNICODE_ERROR, $t('Multibyte string output conversion in PHP is active and must be disabled. Check the php.ini <em>mbstring.http_output</em> setting. Please refer to the <a href="@url">PHP mbstring documentation</a> for more information.', array('@url' => 'http://www.php.net/mbstring')));
119
  // mbstring.http_input and mbstring.http_output are deprecated and empty by
120
  // default in PHP 5.6.
121
  if (version_compare(PHP_VERSION, '5.6.0') == -1) {
122
    if (ini_get('mbstring.http_input') != 'pass') {
123
      return array(UNICODE_ERROR, $t('Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini <em>mbstring.http_input</em> setting. Please refer to the <a href="@url">PHP mbstring documentation</a> for more information.', array('@url' => 'http://www.php.net/mbstring')));
124
    }
125
    if (ini_get('mbstring.http_output') != 'pass') {
126
      return array(UNICODE_ERROR, $t('Multibyte string output conversion in PHP is active and must be disabled. Check the php.ini <em>mbstring.http_output</em> setting. Please refer to the <a href="@url">PHP mbstring documentation</a> for more information.', array('@url' => 'http://www.php.net/mbstring')));
127
    }
124 128
  }
125 129

  
126 130
  // Set appropriate configuration

Formats disponibles : Unified diff