Now that bedrock does not contain a production.php environment file, how do you set disallow_file_mods to false?
We tried adding it to the .env as
DISALLOW_FILE_EDIT=false
DISALLOW_FILE_MODS=false
but no luck.
Now that bedrock does not contain a production.php environment file, how do you set disallow_file_mods to false?
We tried adding it to the .env as
DISALLOW_FILE_EDIT=false
DISALLOW_FILE_MODS=false
but no luck.
Two options:
production.php
file we removed it by default but you can still put anything you want in thereapplication.php
config then override it in development
Ah lol, maybe we should include an empty one with a comment in it or something? I’m sure it’s in the docs somewhere though and I just missed it. Thanks!
The docs mention you can create any env file and it will be loaded in that environment: https://roots.io/bedrock/docs/configuration-files/
There’s nothing special about production
This topic was automatically closed after 42 days. New replies are no longer allowed.