From f7352c8340de90ec0f8f25def6b449bfaf056c0f Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 8 Jan 2007 19:53:34 +0000 Subject: [PATCH] Environment checks support mysqli. MDL-8113 --- lib/environmentlib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/environmentlib.php b/lib/environmentlib.php index 28a8c096c41..29ddf31f7bd 100644 --- a/lib/environmentlib.php +++ b/lib/environmentlib.php @@ -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'; }