Commit Graph
7 Commits
Author SHA1 Message Date
Ben Scott b3c5ff1df5 Add checks for Dotenv before calling it
`composer install --no-dev` fails when Dotenv is a dev dependency (which
it is in skeleton) and you're running in an environment without an
APP_ENV variable set.

Throw exception when no env variables are set and Dotenv is absent so
the user knows to either require DotEnv or specify an APP_ENV variable.
2017-11-23 15:39:39 +00:00
Nicolas Grekas b758d3a313 Make "APP_DEBUG" mode fallback to "APP_ENV !== prod" 2017-11-07 17:24:19 +01:00
Ryan WeaverandSymfony 56acc9cfb9 Always using umask(0000) in debug mode (#210) 2017-10-10 01:46:31 -07:00
Nicolas Grekas 4d50b0884d Default to non-debug in index.php 2017-08-30 16:31:30 +02:00
Nicolas Grekas ca22a33dca Dont use getenv(), use $_SERVER instead 2017-08-22 15:09:35 +02:00
Javier Eguiluz cf47d2e805 Fixed CS of the default front controller 2017-07-30 16:37:34 +02:00
Fabien Potencier 4d6ae1410e fixed typo 2017-07-03 15:43:15 +03:00