Commit 3580bfe6 authored by josebc's avatar josebc Committed by helmo

Issue #2884608 by helmo, josebc, MartijnBraam: Site language not set when...

Issue #2884608 by helmo, josebc, MartijnBraam: Site language not set when provisioning a drupal 8 site
parent a31aae5a
......@@ -117,7 +117,7 @@ function install_main() {
$settings = array(
'parameters' => array(
'profile' => $profile,
'locale' => $install_locale,
'langcode' => $install_locale,
),
'settings_verified' => TRUE,
'forms' => array(
......@@ -142,7 +142,8 @@ function install_main() {
),
);
try {
install_drupal($settings);
$class_loader = drush_drupal_load_autoloader(DRUPAL_ROOT);
install_drupal($class_loader, $settings);
}
catch (Exception $e) {
drush_set_error('DRUPAL_INSTALL_FAILED');
......
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