Environment checks support mysqli. MDL-8113

This commit is contained in:
stronk7
2007-01-08 19:53:34 +00:00
parent 90b7248055
commit f7352c8340
+3
View File
@@ -658,6 +658,9 @@ function environment_check_database($version) {
/// Now search the version we are using (depending of vendor)
$current_vendor = $db->databaseType;
if ($current_vendor == 'mysqli') { //Normalize a bit mysql
$current_vendor ='mysql';
}
if ($current_vendor == 'postgres7') { //Normalize a bit postgresql
$current_vendor ='postgres';
}