Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

production.php missing? #585

Closed
4 tasks done
strarsis opened this issue Mar 28, 2021 · 1 comment
Closed
4 tasks done

production.php missing? #585

strarsis opened this issue Mar 28, 2021 · 1 comment

Comments

@strarsis
Copy link

Description

The production.php is missing from config/environments/ in the repository. It would be nice to have a basic configuration for disabling error display, file mods, etc.

@austinpray
Copy link
Contributor

austinpray commented Mar 28, 2021

As of #380, application.php is production by default. Then development, staging, whatever are environments where you make the minimum amount of deviations from production in order to make your life easier.

Before, if you somehow messed up setting WP_ENV to "production", the behavior was fail-open. Now it's fail-safe, where it will default to production settings if you mess up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants