Skip to content

Commit

Permalink
Support local as WP_ENVIRONMENT_TYPE (roots#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
DSGND authored Jun 13, 2023
1 parent 052bf9d commit 9223c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
/**
* Infer WP_ENVIRONMENT_TYPE based on WP_ENV
*/
if (!env('WP_ENVIRONMENT_TYPE') && in_array(WP_ENV, ['production', 'staging', 'development'])) {
if (!env('WP_ENVIRONMENT_TYPE') && in_array(WP_ENV, ['production', 'staging', 'development', 'local'])) {
Config::define('WP_ENVIRONMENT_TYPE', WP_ENV);
}

Expand Down

0 comments on commit 9223c3b

Please sign in to comment.