diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-10-27 12:51:26 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-10-27 21:39:34 +0100 |
commit | 233c49f4b9fc90f5bd023420ed899439fb413db0 (patch) | |
tree | b0df628bd066ae1337a803b476026b5c48b2549f /config | |
parent | 25a4b5a93581800887fceef7444b0d3702e4f018 (diff) | |
download | nextcloud-server-233c49f4b9fc90f5bd023420ed899439fb413db0.tar.gz nextcloud-server-233c49f4b9fc90f5bd023420ed899439fb413db0.zip |
Make supported DBs configurable within config.php
This commit will make the supported DBs for installation configurable within config.php. By default the following databases are tested: "sqlite", "mysql", "pgsql". The reason behind this is that there might be instances where we want to prevent SQLite to be used by mistake.
To test this play around with the new configuration parameter "supportedDatabases".
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 621e5df80b3..78bbfff8c85 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -801,6 +801,23 @@ $CONFIG = array( ), /** + * Database types that are supported for installation + * Available: + * - sqlite (SQLite3) + * - mysql (MySQL) + * - pgsql (PostgreSQL) + * - oci (Oracle) + * - mssql (Microsoft SQL Server) + */ +'supportedDatabases' => array( + 'sqlite', + 'mysql', + 'pgsql', + 'oci', + 'mssql' +), + +/** * Custom CSP policy, changing this will overwrite the standard policy */ 'custom_csp_policy' => |