2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Make compatible with Adodb 5.21

This commit is contained in:
Adam Zammit
2019-06-07 10:37:23 +10:00
parent 24947696de
commit 948dfd525b

View File

@@ -70,6 +70,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__).'/inclu
$db = newADOConnection(DB_TYPE);
$db->Connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$db->SetFetchMode(ADODB_FETCH_ASSOC);
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
if (DEBUG == true) $db->debug = true;
$db->Execute("set names 'utf8'");