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 /lib/base.php | |
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 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 23f0e594510..22916c259fc 100644 --- a/lib/base.php +++ b/lib/base.php @@ -716,7 +716,7 @@ class OC { // Check if ownCloud is installed or in maintenance (update) mode if (!OC_Config::getValue('installed', false)) { - $controller = new OC\Core\Setup\Controller(); + $controller = new OC\Core\Setup\Controller(\OC::$server->getConfig()); $controller->run($_POST); exit(); } |