]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17491 oracle native driver - now defaulting to it! B-)
authorstronk7 <stronk7>
Thu, 8 Oct 2009 15:14:01 +0000 (15:14 +0000)
committerstronk7 <stronk7>
Thu, 8 Oct 2009 15:14:01 +0000 (15:14 +0000)
lib/dmllib.php

index b36c46b3eb8acbef13110d1d9d3aacb3d056d4ab..c09748aa9b2a6180b203d4a66218729453d85965 100644 (file)
@@ -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';