josegonzalez / app

CakePHP3: a composer project skeleton for the FUTURE
8 stars 7 forks source link

Set debug to default false if env is missing #7

Closed HarderWork closed 7 years ago

HarderWork commented 7 years ago

To avoid errors in production debug should be defaulted to false if env-var is missing. FILTER_VALIDATE_BOOLEAN will set false if env('DEBUG') is null.

josegonzalez commented 7 years ago

This actually comes from upstream here, so should be fixed there. I'll merge once it comes from upstream.