summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintekhab <me@intekhab.in>2016-09-09 14:15:02 +0200
committerintekhab <me@intekhab.in>2016-09-09 14:15:02 +0200
commit24bd981e2fdbb22064f3d89c81367f69f9e52f6a (patch)
treed690410d1aaf76747f5ffadad4dac230b5f12686
parent9dc8cacf71ed228452da451b2cf216a4fa6c1cd1 (diff)
Removed mysqli options function for ssl certificate verification false
-rw-r--r--system/database/drivers/mysqli/mysqli_driver.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/database/drivers/mysqli/mysqli_driver.php b/system/database/drivers/mysqli/mysqli_driver.php
index 2dc2a9710..cf931a351 100644
--- a/system/database/drivers/mysqli/mysqli_driver.php
+++ b/system/database/drivers/mysqli/mysqli_driver.php
@@ -183,7 +183,6 @@ 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;
}
}