spinupwp / spinupwp-composer-site

A WordPress site setup using Composer that is primed and ready to be hosted using SpinupWP.
https://spinupwp.com/
110 stars 21 forks source link

Improve environment-specific config and add documentation #15

Open rosswintle opened 3 years ago

rosswintle commented 3 years ago

This PR uses the App::define() method to set the stored environment-specific constants. This allows them to be overridden with a .env or .env.local file.

I've also added explanatory comments to each of the stored environment-specific files.