summaryrefslogtreecommitdiffstats
path: root/core/setup
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-28 10:41:46 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-28 10:41:46 +0100
commit04364533534456d23d9a1deb0e963370f6f95424 (patch)
tree825d3bc8d62eb99a0eccde5155ecd9d855943fea /core/setup
parent5fa8f7cf128d819a195c540851faf265a481df64 (diff)
parenta5425e84f2c93a80a1e6d43fdde9dd655090d557 (diff)
downloadnextcloud-server-04364533534456d23d9a1deb0e963370f6f95424.tar.gz
nextcloud-server-04364533534456d23d9a1deb0e963370f6f95424.zip
Merge pull request #7720 from ideaship/autoconfig_fix
fix autoconfig
Diffstat (limited to 'core/setup')
-rw-r--r--core/setup/controller.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php
index bb9c9101fe2..1a8e9b2b764 100644
--- a/core/setup/controller.php
+++ b/core/setup/controller.php
@@ -20,7 +20,7 @@ class Controller {
$errors = array('errors' => $e);
if(count($e) > 0) {
- $options = array_merge($post, $opts, $errors);
+ $options = array_merge($opts, $post, $errors);
$this->display($options);
}
else {
@@ -28,7 +28,8 @@ class Controller {
}
}
else {
- $this->display($opts);
+ $options = array_merge($opts, $post);
+ $this->display($options);
}
}
@@ -41,6 +42,7 @@ class Controller {
'dbname' => '',
'dbtablespace' => '',
'dbhost' => '',
+ 'dbtype' => '',
);
$parameters = array_merge($defaults, $post);