config-reader-php
config-reader-php copied to clipboard
Add environment type and fix Config::onProduction
Fixes #21
Friendly ping.
I really wanted to use onProduction() today, but #21 is still an issue.
My best workaround is just doing getenv('PLATFORM_ENVIRONMENT_TYPE') === 'production' instead.