-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.0
-
None
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
Some libraries, like ADOdb require to perform some DEFINEs before loading the adodb stuff, for example:
http://phplens.com/adodb/reference.constants.adodb_assoc_case.html
This was performed by preconfigure_dbconnection() function under Moodle 1.9.
And that code has been moved to configure_dbconnection() that is executed after the connection is performed so, that stuff defines haven't effect.
This can be solved by simply harcoding them at the beginning of each driver, before adodb is required (in moodle_adodb_database).