Commit Graph
18 Commits
Author SHA1 Message Date
Fabien Potencier f1d0ca324d Revert "Merge pull request #555"
This reverts commit d87f53b77c, reversing
changes made to 8bd4f13853.
2019-03-29 18:01:57 +01:00
tdutrion 693ec9e93a Add project path to app Kernel instanciation 2019-03-23 18:51:27 +01:00
Nicolas Grekas 3e471cbc7d Always load vars defined in .env files, providing .env.local.php for prod 2019-01-03 13:52:26 +01: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 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
Morel Sébastien 5849677040 Fix TypeError argument when APP_DEBUG is set 2018-03-08 01:20:32 -08:00
Christophe Coevoet 60c0fc35b3 Improve the console script
- look for the --env and --no-debug only before a -- separator, to respect
  the support for --
- avoid passing an empty string as parameter option name (which would never
  match anyway, but causes php warning is some Symfony versions instead of
  being ignored silently).
2018-02-15 12:16:49 +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 ca22a33dca Dont use getenv(), use $_SERVER instead 2017-08-22 15:09:35 +02:00
Loïck PieraandGitHub b5a46a6e1c Fix use order in bin/console 2017-08-09 20:40:50 +02:00
Fabien Potencier 8fd72f8a86 added version directories 2017-04-04 11:57:32 -07:00
Fabien Potencier 6e554b0445 moved aliases directly into the manifest files 2017-03-24 16:11:46 -07:00
Fabien Potencier afb8b0bc4b moved recipes to the root 2017-03-24 16:01:14 -07:00