Skip to content

Commit

Permalink
Aggiunta codifica utf8mb4 in Helpers\Database
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecesarano committed Apr 6, 2017
1 parent ae3cdb0 commit 889dd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct($config_name){
$name = $database['name'];
$user = $database['user'];
$password = $database['password'];
$dsn = $engine.':dbname='.$name.";host=".$host.";charset=utf8mb4";
$dsn = $engine.':dbname='.$name.";host=".$host.";charset=utf8mb4";
$options = array(
PDO::ATTR_PERSISTENT => true,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
Expand Down

0 comments on commit 889dd78

Please sign in to comment.