summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-25 17:10:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-25 17:10:36 +0000
commit9a59cf76742669f4e7a26d1ef2737179db8cf7b5 (patch)
tree250aec1091cc6347d3823bc84a13a07e8a436518 /install.php
parent2671e98daa4ad2ec590a3e0fd30c0bb053dabd3f (diff)
downloadbrdo-9a59cf76742669f4e7a26d1ef2737179db8cf7b5.tar.gz
brdo-9a59cf76742669f4e7a26d1ef2737179db8cf7b5.tar.bz2
#444778 by haffmans: Allow non-default database connections in installation profiles.
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index 807453111..5b4e3f865 100644
--- a/install.php
+++ b/install.php
@@ -365,7 +365,7 @@ function _install_settings_form_validate($database, $settings_file, &$form_state
}
$class = "DatabaseInstaller_$driver";
$test = new $class;
- $databases = array('default' => array('default' => $database));
+ $databases['default']['default'] = $database;
$return = $test->test();
if (!$return || $test->error) {
if (!empty($test->success)) {