#154388 (backport of #172262) by JirkaRybka. Better globals handling in install system, so the choosen profile and language are remembered.

5.x
Neil Drumm 2007-11-07 08:10:16 +00:00
parent 5f8bab87e1
commit b6d2e81d5a
1 changed files with 2 additions and 1 deletions

View File

@ -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';