Remove profile pre-selection, and allow user to select their profile during installation again.
This commit is contained in:
parent
a9bb455608
commit
2720a9ec4b
|
@ -37,18 +37,6 @@ if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
|
||||||
$GLOBALS['install_state']['settings_verified'] = TRUE;
|
$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.
|
* Allow Drupal 8 to Cleanly Redirect to Install.php For New Sites.
|
||||||
*
|
*
|
||||||
|
|
Reference in a new issue