summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-10-27 16:00:13 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-10-27 16:00:13 +0100
commita00712aa65169b248cac8e541dfe69fd82082609 (patch)
tree82944a0942f277734d104071a5a8f9a1a47e11da /config
parent8de287f2efe2eafcbda8c54590e363486719257e (diff)
parentde72aff2c1303b848cbf6fa49ea3d8a466344491 (diff)
downloadnextcloud-server-a00712aa65169b248cac8e541dfe69fd82082609.tar.gz
nextcloud-server-a00712aa65169b248cac8e541dfe69fd82082609.zip
Merge pull request #11783 from owncloud/allow_passing_driver_options
allow passing db driver options
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 621e5df80b3..268b7cc9d08 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -120,6 +120,13 @@ $CONFIG = array(
'dbtableprefix' => '',
/**
+ * Additional driver options for the database connection, eg. to enable SSL encryption in MySQL:
+ */
+'dbdriveroptions' => array(
+ PDO::MYSQL_ATTR_SSL_CA => '/file/path/to/ca_cert.pem',
+),
+
+/**
* Indicates whether the ownCloud instance was installed successfully; ``true``
* indicates a successful installation, and ``false`` indicates an unsuccessful
* installation.