Nicolas Grekas
93b6ef140b
[symfony/framework-bundle] minor cleanup
2020-04-25 11:39:24 +02:00
Guilliam Xavier and GitHub
86714aef30
Fix TRUSTED_HOSTS regexp example
2020-01-29 17:46:04 +01:00
Guilliam Xavier and GitHub
7d12a7bf9e
Fix TRUSTED_HOSTS regexp example
2020-01-29 16:31:47 +01:00
Nicolas Grekas
8ca8f49826
Fix loading .env.local.php
2020-01-25 11:21:29 +01:00
thewalkingcoder and GitHub
1d3ba22b75
Fix error synthax in bootstrap.php
...
PR to fix #35293
2020-01-10 08:00:49 +01:00
Nicolas Grekas
321ef8390c
Allow missing APP_ENV in .env.local.php
2020-01-06 20:17:28 +01:00
Nicolas Grekas
3015f125e3
Enable inline_class_loader in debug mode
2019-12-18 12:15:32 +01:00
symfony-flex-server[bot] and GitHub
fac3cdef6c
Merge pull request #708
2019-12-13 18:36:33 +00:00
Nicolas Grekas
1a4241eda7
Dont inline_class_loader on PHP 7.4
2019-12-11 11:45:05 +01:00
Nicolas Grekas
e32a75b3cd
Dont create config/secrets/ by default
2019-12-11 11:35:47 +01:00
symfony-flex-server[bot] and GitHub
7ed4104934
Merge pull request #677
2019-11-17 11:57:44 +00:00
symfony-flex-server[bot] and GitHub
bc7ddc2597
Merge pull request #678
2019-11-17 11:42:04 +00:00
symfony-flex-server[bot] and GitHub
c6acb6de1f
Merge pull request #647
2019-11-17 10:45:51 +00:00
Nicolas Grekas
aedd86b70d
Dont look recursively into per-env folders
2019-11-17 11:29:30 +01:00
Nicolas Grekas
998b214c6d
[framework-bundle] enable "inline_factories", disable "inline_class_loader" when PHP 7.4 preloading is used
2019-11-15 14:19:43 +01:00
Nicolas Grekas
ae388aa719
Trust proxies on private and local IPs (commented by default)
2019-10-08 14:20:22 +02:00
Fred Cox
cf146c2f22
Allow correct environment to be loaded when .env.local.php exists
...
This prevents surprises when you have generated the file, and then run your tests.
2019-09-13 15:13:22 +03:00
Fabien Potencier
00f7b140b4
replaced ~ by null
2019-08-01 09:31:53 +02:00
Kévin Dunglas
3ec504b0fc
[symfony/translation] Remove confusing commented value
2019-06-19 21:10:50 +02:00
symfony-flex-server[bot] and GitHub
3573729849
Merge pull request #581
2019-06-19 09:48:59 +00:00
Ben Davies
65dc172421
ensure is contains real env vars from , or defaults from .env.local.php
2019-06-14 14:58:54 +01:00
Hamza Amrouche and GitHub
cc27dad4e2
feature: deprecate WebserverBundle and remove it from the recipe message
2019-04-26 09:53:56 +02:00
Nyholm
6953b33d45
Dont use putenv by default
2019-04-10 17:43:20 +02:00
Nicolas Grekas
2b3e7e2f16
Populate $_SERVER with $_ENV
2019-04-10 14:54:53 +02:00
Fabien Potencier
eaec92b454
suggest installing the Symfony CLI instead of using the built-in PHP web server
2019-04-09 07:34:04 +02:00
symfony-flex-server[bot] and GitHub
b0b43773f4
Merge pull request #540
2019-04-06 13:37:20 +00:00
tdutrion
27f7c9c518
Add project dir to framework bundle
2019-04-03 19:22:27 +02:00
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
Steffen Roßkamp and GitHub
ea8af673c9
Fix getenv() not working with .env.local.php
2019-02-26 18:30:49 +01:00
symfony-flex-server[bot] and GitHub
d9dc7a8ff5
Merge pull request #507
2019-02-26 10:09:05 +00:00
Grégoire Pineau
52c6d2ae96
Load routes for specific env first
...
It's common to add a 'wildcard' route to an application that looks like
a CMS. Usually the route has the following path `/{slug}`.
But with the current routes loading order, the 'dev' routing is loaded
after regular routes. In previous SF versions, dev routing was loaded
first. This PR retores this behavior.
2019-02-25 16:29:14 +01:00
Martin Hujer
96ff1b6b8e
symfony/framework-bundle 4.2 can use PHP 7.1 features
2019-02-24 10:00:46 +01:00
Jan Rosier
de62821bc0
Remove the no longer needed getCacheDir and getLogDir methods.
...
Since Symfony v4.2 the methods of the parent class are the same.
2019-01-11 17:06:25 +01:00
Ryan Weaver
e5537b6402
minor tweak - if APP_ENV is an empty string, this defaults it back to
...
dev
2019-01-05 11:27:19 -05:00
Ryan Weaver
8f35a294dc
Allowing APP_ENV to be an empty index
2019-01-05 10:41:48 -05:00
symfony-flex-server[bot] and GitHub
f10f2a78a4
Merge pull request #501
2019-01-03 13:07:35 +00: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
Nicolas Grekas
7490f414e3
[FrameworkBundle] split cache.yaml out of framework.yaml
2018-12-09 19:33:39 +00:00
symfony-flex-server[bot] and GitHub
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
symfony-flex-server[bot] and GitHub
5f5c10c2da
Merge pull request #485
2018-11-12 06:03:51 +00:00
Nicolas Grekas
be55b939ec
Remove setting container.autowiring.strict_mode to true
2018-11-10 16:46:52 +01:00
Tobias Schultze and GitHub
ef52f72088
Handle disabling bundles when config set to false
...
Fixes #383
2018-11-10 00:42:53 +01:00
Nicolas Grekas
f83edeee49
fix namespace
2018-11-09 22:20:11 +01:00
Nicolas Grekas
95bb54353e
Allow to override .env files per env
2018-11-09 14:22:38 +01:00
Kévin Dunglas
ec98589e53
Change postinstall message
2018-10-12 09:47:05 +02:00