#154388 (backport of #172262) by JirkaRybka. Better globals handling in install system, so the choosen profile and language are remembered.
parent
5f8bab87e1
commit
b6d2e81d5a
|
@ -15,9 +15,10 @@ require_once './includes/install.inc';
|
|||
* The installation phase we should proceed to.
|
||||
*/
|
||||
function install_main() {
|
||||
global $profile, $install_locale;
|
||||
require_once './includes/bootstrap.inc';
|
||||
drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION);
|
||||
// This must go after drupal_bootstrap(), which unsets globals!
|
||||
global $profile, $install_locale;
|
||||
require_once './modules/system/system.install';
|
||||
require_once './includes/file.inc';
|
||||
|
||||
|
|
Loading…
Reference in New Issue