diff --git a/src/bundle/Resources/config/services.yml b/src/bundle/Resources/config/services.yml index e0a6a97..bf2921f 100644 --- a/src/bundle/Resources/config/services.yml +++ b/src/bundle/Resources/config/services.yml @@ -3,3 +3,9 @@ services: autowire: true autoconfigure: true public: false + + EzSystems\EzPlatformMaintenanceModeBundle\Event\Subscriber\MaintenanceModeSubscriber: + arguments: + $kernelEnvironment: '%kernel.environment%' + tags: + - { name: kernel.event_subscriber } \ No newline at end of file