From b58d4c5f7ed64adf0317ab5c01aad0f34e22f957 Mon Sep 17 00:00:00 2001 From: sminnee Date: Wed, 13 Oct 2010 02:57:56 +0000 Subject: [PATCH] BUGFIX Installer should generate MySQLDatabase::set_connection_charset('utf8') in the _config.php to allow for better encoding in MySQL (from r98893) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112110 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.php b/install.php index 59fb3c1..4ffccb1 100644 --- a/install.php +++ b/install.php @@ -865,6 +865,8 @@ global \$databaseConfig; // for a description of what dev mode does. Director::set_dev_servers($devServers); +MySQLDatabase::set_connection_charset('utf8'); + // This line set's the current theme. More themes can be // downloaded from http://www.silverstripe.org/themes/ SSViewer::set_theme('$theme');