Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iwl-live
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anthony.Suerte
iwl-live
Commits
8d679fe9
Commit
8d679fe9
authored
Jul 30, 2021
by
Antonio.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Local Setup Code [DO NOT MERGE THIS BRANCH live-local]
parent
f912d780
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
.gitignore
.gitignore
+5
-1
connector.php
system/lib/connector.php
+11
-3
No files found.
.gitignore
View file @
8d679fe9
Logs/
Logs/
\ No newline at end of file
system/lib/marsys_data_conf.ini
documents/ads
.buildpath
.project
\ No newline at end of file
system/lib/connector.php
View file @
8d679fe9
...
@@ -26,11 +26,19 @@ class Cnnector extends CommonBase {
...
@@ -26,11 +26,19 @@ class Cnnector extends CommonBase {
$db
=
$this
->
getConfigValue
(
SECTION_DB
,
TARGET_DB_NAME
);
$db
=
$this
->
getConfigValue
(
SECTION_DB
,
TARGET_DB_NAME
);
$mysqli
=
mysqli_init
();
$mysqli
=
mysqli_init
();
mysqli_options
(
$mysqli
,
MYSQLI_OPT_SSL_VERIFY_SERVER_CERT
,
true
);
//
mysqli_options($mysqli, MYSQLI_OPT_SSL_VERIFY_SERVER_CERT, true);
$mysqli
->
ssl_set
(
NULL
,
NULL
,
"/var/www/html/db/rds-combined-ca-bundle.pem"
,
NULL
,
NULL
);
//
$mysqli->ssl_set(NULL,NULL,"/var/www/html/db/rds-combined-ca-bundle.pem",NULL,NULL);
$mysqli
->
real_connect
(
$host
,
$username
,
$password
,
$db
,
$port
,
NULL
,
MYSQLI_CLIENT_SSL
);
$mysqli
->
real_connect
(
$host
,
$username
,
$password
,
$db
,
$port
,
NULL
//,MYSQLI_CLIENT_SSL
);
$this
->
con
=
$mysqli
;
$this
->
con
=
$mysqli
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment