mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
Adding support for mysqli. MDL-8113
This commit is contained in:
parent
162f74a29f
commit
c0fe837eeb
@ -170,6 +170,7 @@ function setup_is_unicodedb() {
|
||||
|
||||
switch ($dbtype) {
|
||||
case 'mysql':
|
||||
case 'mysqli':
|
||||
$rs = $db->Execute("SHOW VARIABLES LIKE 'character_set_database'");
|
||||
if ($rs && $rs->RecordCount() > 0) {
|
||||
$records = $rs->GetAssoc(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user