]> git.mjollnir.org Git - moodle.git/commitdiff
Environment checks support mysqli. MDL-8113
authorstronk7 <stronk7>
Mon, 8 Jan 2007 19:54:44 +0000 (19:54 +0000)
committerstronk7 <stronk7>
Mon, 8 Jan 2007 19:54:44 +0000 (19:54 +0000)
Merged from MOODLE_17_STABLE

lib/environmentlib.php

index 28a8c096c412cc27814c37c82dfb8c4f0571013d..29ddf31f7bd3438645d789898009a3ab142f5e39 100644 (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';
     }