1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/11542] Use Czech as example as it contains non-latin characters
  [ticket/11547] Set MySQL charset to UTF8 in database_test_connection_manager.
This commit is contained in:
Andreas Fischer
2013-05-17 02:27:25 +02:00
3 changed files with 15 additions and 7 deletions

View File

@@ -142,6 +142,14 @@ class phpbb_database_test_connection_manager
}
$this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
switch ($this->config['dbms'])
{
case 'mysql':
case 'mysqli':
$this->pdo->exec('SET NAMES utf8');
default:
}
}
/**