How to set disallow_file_mods to false for production?

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


but no luck.

Two options:

  1. just create a production.php file :smile: we removed it by default but you can still put anything you want in there
  2. set that value in the main application.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:

There’s nothing special about production

This topic was automatically closed after 42 days. New replies are no longer allowed.