FIX use correct namespaces for middleware injection

This commit is contained in:
Andrew Aitken-Fincham 2017-09-06 16:53:33 +01:00
parent b270eee1b0
commit dc240ce7f3

View File

@ -11,12 +11,12 @@ SilverStripe\Core\Injector\Injector:
SessionMiddleware: '%$SilverStripe\Control\Middleware\SessionMiddleware' SessionMiddleware: '%$SilverStripe\Control\Middleware\SessionMiddleware'
RequestProcessorMiddleware: '%$SilverStripe\Control\RequestProcessor' RequestProcessorMiddleware: '%$SilverStripe\Control\RequestProcessor'
FlushMiddleware: '%$SilverStripe\Control\Middleware\FlushMiddleware' FlushMiddleware: '%$SilverStripe\Control\Middleware\FlushMiddleware'
SilverStripe\Control\AllowedHostsMiddleware: SilverStripe\Control\Middleware\AllowedHostsMiddleware:
properties: properties:
AllowedHosts: "`SS_ALLOWED_HOSTS`" AllowedHosts: '`SS_ALLOWED_HOSTS`'
SilverStripe\Control\TrustedProxyMiddleware: SilverStripe\Control\Middleware\TrustedProxyMiddleware:
properties: properties:
TrustedProxyIPs: "`SS_TRUSTED_PROXY_IPS`" TrustedProxyIPs: '`SS_TRUSTED_PROXY_IPS`'
--- ---
Name: errorrequestprocessors Name: errorrequestprocessors
After: After: