Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion public_html/lists/admin/mysqli.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ function Sql_Connect($host, $user, $password, $database)
}
$db = mysqli_init();
$compress = empty($database_connection_compression) ? 0 : MYSQLI_CLIENT_COMPRESS;
$secure = empty($database_connection_ssl) ? 0 : MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT;
$secure = 0;
if (!empty($database_connection_ssl)) {
$secure = !empty($database_connection_ssl_check)
? MYSQLI_CLIENT_SSL
: MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT;
}

mysqli_report(MYSQLI_REPORT_OFF);

Expand Down
3 changes: 3 additions & 0 deletions public_html/lists/config/config_extended.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
// force database connection to use SSL
$database_connection_ssl = false;

// force to check SSL connection
$database_connection_ssl_check = false;

// if you use multiple installations of phpList you can set this to
// something to identify this one. it will be prepended to email report
// subjects
Expand Down
Loading