diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 513d985320d2ea8e17ccb3c3b203fb12b76ec726..c7e713b6342d14565ff914754b5be5a83eea359a 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -426,6 +426,8 @@ function install_begin_request($class_loader, &$install_state) { $kernel::bootEnvironment(); $kernel->setSitePath($site_path); $kernel->boot(); + // Get the new version of the container from the kernel. This is now a + // complete container with all services. $container = $kernel->getContainer(); // If Drupal is being installed behind a proxy, configure the request. ReverseProxyMiddleware::setSettingsOnRequest($request, Settings::getInstance());