diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-12 02:00:04 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-12 02:00:04 +0000 |
commit | 33b09cc5eb6f602e8007ce4cf799b30aacc4021e (patch) | |
tree | f0898ff7830c0a1a145e786a95051621a08c59f2 /install.php | |
parent | b959d8fbeb81d033d74abe620d4131a7e533179b (diff) | |
download | brdo-33b09cc5eb6f602e8007ce4cf799b30aacc4021e.tar.gz brdo-33b09cc5eb6f602e8007ce4cf799b30aacc4021e.tar.bz2 |
#589754 by rfay and Crell: Fixed non-recoverable install if invalid database specified in settings.php.
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/install.php b/install.php index 83c5099ee..249d40729 100644 --- a/install.php +++ b/install.php @@ -954,6 +954,10 @@ function install_database_errors($database, $settings_file) { // Run tasks associated with the database type. Any errors are caught in the // calling function $databases['default']['default'] = $database; + // Just changing the global doesn't get the new information processed. + // We tell tell the Database class to re-parse $databases. + Database::parseConnectionInfo(); + try { db_run_tasks($database['driver']); } |