I have the following in my .env file
ENVIRONMENT=local
However, this is ignored and the settings are not updated. I can verify this by checking the imageOptimize settings to see if the Active Image Processors are installed.
If I remove the 'local' => [ setting then this works as expected and the Image Processors paths are updated.
I can verify that I the environment is local by testing for this in a template.
{% set env = getenv('ENVIRONMENT') %}
{{ env }}
Expected behaviour
I expect in the local environment for the Image Processors to use different paths, based on the ENVIRONMENT setting in the .env file.
Describe the bug
It appears that the Environment is ignored in the settings file. I believe this is a recent bug as this was working ok a few weeks ago.
To reproduce
Steps to reproduce the behaviour:
I have the following in my .env file
ENVIRONMENT=local
However, this is ignored and the settings are not updated. I can verify this by checking the imageOptimize settings to see if the Active Image Processors are installed.
If I remove the
'local' => [
setting then this works as expected and the Image Processors paths are updated.I can verify that I the environment is local by testing for this in a template.
Expected behaviour
I expect in the local environment for the Image Processors to use different paths, based on the
ENVIRONMENT
setting in the.env
file.Versions