diff options
author | Chris Cornutt <enygma@phpdeveloper.org> | 2015-07-17 19:11:11 -0500 |
---|---|---|
committer | Chris Cornutt <enygma@phpdeveloper.org> | 2015-07-17 19:11:11 -0500 |
commit | 323735adce2062742e8830d2d31fd4e86216536d (patch) | |
tree | 0211fb03d12519c21615ad88011554643d887acb | |
parent | 685a9c11689a43837618f6fd163835239ea50f1b (diff) | |
parent | 5273cb82b3d43176ed040097ecba32dfc90c5d7b (diff) | |
download | gatekeeper-323735adce2062742e8830d2d31fd4e86216536d.zip gatekeeper-323735adce2062742e8830d2d31fd4e86216536d.tar.gz gatekeeper-323735adce2062742e8830d2d31fd4e86216536d.tar.bz2 |
Merge branch 'master' of git://github.com/psecio/gatekeeper
-rw-r--r-- | src/Psecio/Gatekeeper/DataSource/Mysql.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Psecio/Gatekeeper/DataSource/Mysql.php b/src/Psecio/Gatekeeper/DataSource/Mysql.php index 22d0622..5a1403a 100644 --- a/src/Psecio/Gatekeeper/DataSource/Mysql.php +++ b/src/Psecio/Gatekeeper/DataSource/Mysql.php @@ -32,7 +32,7 @@ class Mysql extends \Psecio\Gatekeeper\DataSource public function buildPdo(array $config) { return new \PDO( - 'mysql:dbname='.$config['name'].';host='.$config['host'], + 'mysql:dbname='.$config['name'].';host='.$config['host'].';charset=utf8', $config['username'], $config['password'] ); } @@ -295,4 +295,4 @@ class Mysql extends \Psecio\Gatekeeper\DataSource { return $this->lastError; } -}
\ No newline at end of file +} |