forked from Public/pics
Database: connect using utf8mb4
This commit is contained in:
parent
ef7fe60fca
commit
ed07668b2e
@ -38,7 +38,7 @@ class Database
|
||||
exit;
|
||||
}
|
||||
|
||||
$this->query('SET NAMES {string:utf8}', ['utf8' => 'utf8']);
|
||||
$this->query('SET NAMES {string:utf8mb4}', ['utf8mb4' => 'utf8mb4']);
|
||||
}
|
||||
|
||||
public function getQueryCount()
|
||||
|
Loading…
Reference in New Issue
Block a user