aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-27 12:51:26 +0100
committerLukas Reschke <lukas@owncloud.com>2014-10-27 22:27:57 +0100
commit9b908c3d058ad28d14787bd4b72978d0e7aa81d2 (patch)
tree2e4001a03da93373e5bed1a7aa7f62499f265b8f /lib/base.php
parentdbfe5ef28acfc54c4f025b7fa1427113c961f5cf (diff)
downloadnextcloud-server-9b908c3d058ad28d14787bd4b72978d0e7aa81d2.tar.gz
nextcloud-server-9b908c3d058ad28d14787bd4b72978d0e7aa81d2.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". Conflicts: lib/private/util.php
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 7335be037b8..5337fa9c9f7 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -681,7 +681,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();
}