Commit Graph
12 Commits
Author SHA1 Message Date
Grégoire Pineau 31f9738a39 Fixed typo 2018-03-14 10:28:02 +01:00
Morel Sébastien 5849677040 Fix TypeError argument when APP_DEBUG is set 2018-03-08 01:20:32 -08:00
Ben Scott 15506e0e3d Work out values for env and debug once
Previously the null coalescing logic was duplicated, this puts it into
one place.
2017-12-20 11:07:53 -08:00
Kévin Dunglas b324d5de53 Remove APP_ prefix 2017-12-02 17:15:05 +01:00
Kévin Dunglas 629e7320c3 [FrameworkBundle] Add a env vars to configure trusted proxies and hosts 2017-11-30 18:13:11 +01:00
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