diff --git a/lib/dmllib.php b/lib/dmllib.php index b36c46b3eb8..c09748aa9b2 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -234,11 +234,17 @@ function setup_DB() { case 'mssql_n': $CFG->dbtype = 'mssql'; // continue, no break here - case 'mssql': $CFG->dblibrary = 'native'; break; + case 'oci8po': + $CFG->dbtype = 'oci'; + // continue, no break here + case 'oci': + $CFG->dblibrary = 'native'; + break; + case 'mysql' : if (!extension_loaded('mysqli')) { $CFG->dblibrary = 'adodb';