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

Provide initial MySQL SSL support

This commit is contained in:
Adam Zammit
2019-05-13 14:44:54 +10:00
parent 972d23b750
commit 08a5f70162
3 changed files with 3 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__).'/inclu
//global database variable
$db = newADOConnection(DB_TYPE);
$db->ssl_ca = DB_SSL;
$db->Connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$db->SetFetchMode(ADODB_FETCH_ASSOC);
if (DEBUG == true) $db->debug = true;