Commit b0113327 authored by alexpott's avatar alexpott
Browse files

Issue #2004086 by fabpot: Stopgap fix for making the Request service synthetic.

parent c3ac6107
......@@ -159,6 +159,11 @@ services:
arguments: ['@container.namespaces']
request:
class: Symfony\Component\HttpFoundation\Request
# @TODO the synthetic setting must be uncommented whenever drupal_session_initialize()
# is run after there is a request and the following two lines should be removed.
factory_class: Symfony\Component\HttpFoundation\Request
factory_method: createFromGlobals
#synthetic: true
event_dispatcher:
class: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher
arguments: ['@service_container']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment