Commit ef86c731 authored by Adrian Rossouw's avatar Adrian Rossouw
Browse files

Got a working D7 install using this change, to match the drush code.

parent c85736ae
......@@ -90,13 +90,13 @@ function install_mail($key, &$message, $params) {
function install_main() {
global $profile, $install_locale, $client_email, $conf, $url, $base_url;
require_once DRUPAL_ROOT . '/includes/';
// We have an existing settings.php.
$db_spec = _drush_sql_get_db_spec();
$db_spec = drush_core_site_install_db_spec();
$db_spec['db_prefix'] = $GLOBALS['db_prefix'];
if ($db_spec['driver'] == 'mysqli') {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment