...
 
Commits (1)
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
use Drupal\Core\DrupalKernel; use Drupal\Core\DrupalKernel;
use Drupal\Core\Session\AnonymousUserSession; use Drupal\Core\Session\AnonymousUserSession;
use Drupal\Core\Site\Settings; use Drupal\Core\Site\Settings;
use Drupal\Core\StackMiddleware\ReverseProxyMiddleware;
use Symfony\Cmf\Component\Routing\RouteObjectInterface; use Symfony\Cmf\Component\Routing\RouteObjectInterface;
use Symfony\Component\HttpFoundation\ParameterBag; use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
...@@ -59,6 +60,7 @@ public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = ...@@ -59,6 +60,7 @@ public function handle(Request $request, $type = self::MASTER_REQUEST, $catch =
// First boot up basic things, like loading the include files. // First boot up basic things, like loading the include files.
$this->initializeSettings($request); $this->initializeSettings($request);
ReverseProxyMiddleware::setSettingsOnRequest($request, Settings::getInstance());
$this->boot(); $this->boot();
$container = $this->getContainer(); $container = $this->getContainer();
/** @var \Symfony\Component\HttpFoundation\RequestStack $request_stack */ /** @var \Symfony\Component\HttpFoundation\RequestStack $request_stack */
......