5 include_once (
"./Services/Database/classes/class.ilDB.php");
17 static function getWrapper($a_type, $a_inactive_mysqli = null)
19 global $ilClientIniFile;
21 if ($a_type ==
"" && is_object($ilClientIniFile))
23 $a_type = $ilClientIniFile->readVariable(
"db",
"type");
33 include_once(
"./Services/Database/classes/class.ilDBMySQL.php");
36 if($a_inactive_mysqli === null &&
37 is_object($ilClientIniFile))
39 $a_inactive_mysqli = $ilClientIniFile->readVariable(
"db",
"inactive_mysqli");
43 if(!(
bool)$a_inactive_mysqli)
45 $ilDB->setSubType(
"mysqli");
51 include_once(
"./Services/Database/classes/class.ilDBInnoDB.php");
54 if($a_inactive_mysqli === null &&
55 is_object($ilClientIniFile))
57 $a_inactive_mysqli = $ilClientIniFile->readVariable(
"db",
"inactive_mysqli");
61 if(!(
bool)$a_inactive_mysqli)
63 $ilDB->setSubType(
"mysqli");
69 include_once(
"./Services/Database/classes/class.ilDBPostgreSQL.php");
74 include_once(
"./Services/Database/classes/class.ilDBOracle.php");