From b6d2e81d5a00e463e25339d7679c5ad074d546f2 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Wed, 7 Nov 2007 08:10:16 +0000 Subject: [PATCH] #154388 (backport of #172262) by JirkaRybka. Better globals handling in install system, so the choosen profile and language are remembered. --- install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.php b/install.php index 1db02286126..417400c6066 100644 --- a/install.php +++ b/install.php @@ -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';