mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-17491 oracle native driver - now defaulting to it! B-)
This commit is contained in:
parent
2c51695987
commit
212f17c354
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user