summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-16 15:17:27 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-16 15:17:27 +0200
commitcfc9e77c89ee5377b25e411ef3d8ab43c8900b7e (patch)
tree84eefe253951d0df09bb7d9a52289f74137b6544 /application/config
parentcbb70f0244b55935b61c605f3d2171489492c7db (diff)
Add 'ssl_verify' option for mysqli driver
MYSQLI_OPT_SSL_VERIFY_SERVER_CERT is an undocumented option that may not always be available. Reference: http://svn.php.net/viewvc/php/php-src/trunk/ext/mysqli/tests/mysqli_constants.phpt?view=markup&pathrev=302897
Diffstat (limited to 'application/config')
-rw-r--r--application/config/database.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/config/database.php b/application/config/database.php
index ea345ee79..bf9857fff 100644
--- a/application/config/database.php
+++ b/application/config/database.php
@@ -49,6 +49,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| 'ssl_ca' - Path to the certificate authority file
| 'ssl_capath' - Path to a directory containing trusted CA certificats in PEM format
| 'ssl_cipher' - List of *allowed* ciphers to be used for the encryption, separated by colons (':')
+| 'ssl_verify' - TRUE/FALSE; Whether verify the server certificate or not ('mysqli' only)
|
| ['compress'] Whether or not to use client compression (MySQL only)
| ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections