parent
b38e46276f
commit
e8dd86ce0d
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class OC_DB {
|
|||
}else{
|
||||
$dsn='mysql:dbname='.$name.';host='.$host;
|
||||
}
|
||||
$opts[PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES 'UTF8'; SET CHARACTER SET 'UTF8';";
|
||||
$opts[PDO::MYSQL_ATTR_INIT_COMMAND] = "SET NAMES 'UTF8'";
|
||||
break;
|
||||
case 'pgsql':
|
||||
if($port){
|
||||
|
|
Loading…
Reference in a new issue