diff options
author | Andrey Andreev <narf@devilix.net> | 2016-09-09 14:33:09 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-09-09 14:33:47 +0200 |
commit | 676072ea1a1d5806c19cd0f76aaf9b6bf48d2741 (patch) | |
tree | acdd444e6b79ea2573a4b79fe29509452fded2d5 /system/database/drivers/mysqli/mysqli_driver.php | |
parent | a70b9614e71c0060700ab99bfa752fa2b9fafaed (diff) |
Merge pull request #4805 from intekhabrizvi/develop
Use MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT as a connection flag instead of option
Diffstat (limited to 'system/database/drivers/mysqli/mysqli_driver.php')
-rw-r--r-- | system/database/drivers/mysqli/mysqli_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php index f4597c746..4a14eea93 100644 --- a/system/database/drivers/mysqli/mysqli_driver.php +++ b/system/database/drivers/mysqli/mysqli_driver.php @@ -183,7 +183,7 @@ class CI_DB_mysqli_driver extends CI_DB { // https://bugs.php.net/bug.php?id=68344 elseif (defined('MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT')) { - $this->_mysqli->options(MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT, TRUE); + $client_flags |= MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT; } } |