silverstripe-subsites/_config/middleware.yml
2023-01-10 13:31:07 +13:00

11 lines
257 B
YAML

---
Name: subsitesmiddleware
After:
- requestprocessors
---
SilverStripe\Core\Injector\Injector:
SilverStripe\Control\Director:
properties:
Middlewares:
SubsitesStateMiddleware: '%$SilverStripe\Subsites\Middleware\InitStateMiddleware'