Commit Graph
20 Commits
Author SHA1 Message Date
Nicolas Grekas 93b6ef140b [symfony/framework-bundle] minor cleanup 2020-04-25 11:39:24 +02:00
symfony-flex-server[bot]andGitHub 230169dc8a Merge pull request #499 2018-11-22 16:10:44 +00:00
Nicolas Grekas f54d6a4684 Move src/.bootstrap.php to config/bootstrap.php 2018-11-22 16:07:00 +01:00
Ben Davies 5d55dfcd15 cast debug to boolean when creating kernel 2018-11-22 14:24:04 +00:00
Nicolas Grekas f6585a3b41 TRUSTED_HOSTS is a regexp 2018-11-17 07:21:56 +01:00
Nicolas Grekas 7ff50214ee Move loading .env files to bootstrap.php 2018-11-15 00:20:15 +01:00
Nicolas Grekas 95bb54353e Allow to override .env files per env 2018-11-09 14:22:38 +01:00
Kévin Dunglas 334f189400 [FWBundle] $_ENV fallback (needed for Panther) 2018-09-20 18:09:36 +02:00
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