From: stronk7 Date: Mon, 8 Jan 2007 19:54:44 +0000 (+0000) Subject: Environment checks support mysqli. MDL-8113 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c90edfe168adbf8e2f3e407cf736f6582200de15;p=moodle.git Environment checks support mysqli. MDL-8113 Merged from MOODLE_17_STABLE --- diff --git a/lib/environmentlib.php b/lib/environmentlib.php index 28a8c096c4..29ddf31f7b 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'; }