Remove profile pre-selection, and allow user to select their profile during installation again.

This commit is contained in:
Greg Anderson 2015-09-04 12:33:48 -07:00
parent a9bb455608
commit 2720a9ec4b

View file

@ -37,18 +37,6 @@ if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
$GLOBALS['install_state']['settings_verified'] = TRUE;
}
/**
* Pre-select the 'standard' installation profile. Drupal complains if we
* do not do this, and operational problems result.
*
* https://github.com/pantheon-systems/drops-8/issues/17
*/
if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
// Pre-select the standard profile
$GLOBALS['install_state']['profile_info']['distribution']['name'] = 'standard';
$GLOBALS['install_state']['parameters']['profile'] = 'standard';
}
/**
* Allow Drupal 8 to Cleanly Redirect to Install.php For New Sites.
*