Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-27 14:51:26 +0300
committerLukas Reschke <lukas@owncloud.com>2014-10-27 23:39:34 +0300
commit233c49f4b9fc90f5bd023420ed899439fb413db0 (patch)
treeb0df628bd066ae1337a803b476026b5c48b2549f /config
parent25a4b5a93581800887fceef7444b0d3702e4f018 (diff)
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.php17
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' =>