Skip to content

Commit cb69b31

Browse files
authored
Merge pull request #60 from behzad900/patch-1
Update class.DBPDO.php
2 parents 1e3869a + cec986a commit cb69b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.DBPDO.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function prep_query($query){
1919
function connect(){
2020
if(!$this->pdo){
2121

22-
$dsn = 'mysql:dbname=' . DATABASE_NAME . ';host=' . DATABASE_HOST;
22+
$dsn = 'mysql:dbname=' . DATABASE_NAME . ';host=' . DATABASE_HOST.';charset=utf8';
2323
$user = DATABASE_USER;
2424
$password = DATABASE_PASS;
2525

0 commit comments

Comments
 (0)