Projet

Général

Profil

Révision 6ff32cea

Ajouté par Florent Torregrosa il y a environ 9 ans

Update core to 7.36

Voir les différences:

drupal7/includes/database/mysql/database.inc
36 36
      // Default to TCP connection on port 3306.
37 37
      $dsn = 'mysql:host=' . $connection_options['host'] . ';port=' . (empty($connection_options['port']) ? 3306 : $connection_options['port']);
38 38
    }
39
    // Character set is added to dsn to ensure PDO uses the proper character
40
    // set when escaping. This has security implications. See
41
    // https://www.drupal.org/node/1201452 for further discussion.
42
    $dsn .= ';charset=utf8';
39 43
    $dsn .= ';dbname=' . $connection_options['database'];
40 44
    // Allow PDO options to be overridden.
41 45
    $connection_options += array(

Formats disponibles : Unified diff