Skip to content
Snippets Groups Projects
Commit 83aaa99d authored by Prasad's avatar Prasad
Browse files

Fixed: MySQLi reporting to continue with adodb

parent 94b3227d
No related branches found
No related tags found
No related merge requests found
......@@ -378,6 +378,11 @@ class Install_Utils_Model {
//Checking for database connection parameters
if($db_type) {
// Backward compatible mode for adodb library.
if ($db_type == 'mysqli') {
mysqli_report(MYSQLI_REPORT_ALL ^ MYSQLI_REPORT_STRICT);
}
$conn = NewADOConnection($db_type);
$db_type_status = true;
if(@$conn->Connect($db_hostname,$db_username,$db_password)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment