diff options
author | Andrey Andreev <narf@devilix.net> | 2016-09-09 14:33:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 14:33:09 +0200 |
commit | 140c70e0be80bd59f448b3fe5de719d94dde2b04 (patch) | |
tree | d690410d1aaf76747f5ffadad4dac230b5f12686 /system/database/drivers/mysqli/mysqli_driver.php | |
parent | 059b7a4e0b3da684a33d3caa54f78ed5003f4a2a (diff) | |
parent | 24bd981e2fdbb22064f3d89c81367f69f9e52f6a (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 c26f975c4..cf931a351 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; } } |