Commit Graph
184 Commits
Author SHA1 Message Date
Nicolas Grekas aedd86b70d Dont look recursively into per-env folders 2019-11-17 11:29:30 +01:00
Maxime Steinhausser e93e95b8af [Fwb][TwigBundle] Remove Twig Preview controller routing in favor of fwb 2019-11-14 10:26:47 +01:00
Nicolas Grekas afe743f3e3 Update gitignore in config/secrets/prod 2019-11-08 16:39:37 +01:00
Nicolas Grekas 7764bbb0df [framework-bundle] git-ignore prod.sodium.decrypt.private 2019-10-26 11:21:59 +02:00
Yonel Ceruto 822d426413 add routes dev config 2019-09-06 10:57:24 -04:00
Yonel Ceruto ffdcde7360 fix validation error 2019-09-06 09:35:12 -04:00
Yonel Ceruto 8104be1b08 Add errors preview routes to the framework config 2019-09-06 08:52:24 -04:00
symfony-flex-server[bot]andGitHub c90601a5fc Merge pull request #634 2019-08-08 06:38:57 +00:00
Fabien Potencier 00f7b140b4 replaced ~ by null 2019-08-01 09:31:53 +02:00
Yonel Ceruto 1d04804387 New 4.4 recipe to use ErrorHandler\Debug class by default 2019-07-31 23:46:25 -04:00
Kévin Dunglas 3ec504b0fc [symfony/translation] Remove confusing commented value 2019-06-19 21:10:50 +02:00
symfony-flex-server[bot]andGitHub 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 AmroucheandGitHub 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]andGitHub 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
Nicolas Grekas 2902cb7fad Load routes for specific env first (bis) 2019-04-01 08:37:14 +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ßkampandGitHub ea8af673c9 Fix getenv() not working with .env.local.php 2019-02-26 18:30:49 +01:00
symfony-flex-server[bot]andGitHub 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]andGitHub 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]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
symfony-flex-server[bot]andGitHub 3b516249b8 Merge pull request #488 2018-11-12 09:13:34 +00:00
symfony-flex-server[bot]andGitHub 5f5c10c2da Merge pull request #485 2018-11-12 06:03:51 +00:00
Nicolas Grekas fe0e99324e Load .env.dist when it exists and .env is not found 2018-11-11 12:08:25 +01:00
Nicolas Grekas be55b939ec Remove setting container.autowiring.strict_mode to true 2018-11-10 16:46:52 +01:00
Tobias SchultzeandGitHub 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
Ryan Weaver feb0acaf40 makes recipe consistent with symfony/flex 1.0 new env handling 2018-11-09 14:24:50 -05: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
Kévin Dunglas cdb5864f65 CS 2018-10-12 09:43:07 +02:00
Kévin Dunglas 63ec91caed Better fix 2018-10-12 09:43:07 +02:00
Kévin Dunglas 2047326d42 Better fix 2018-10-12 09:43:07 +02:00
Kévin Dunglas 1a21559912 Fix routes support when using the PHP built-in web server 2018-10-12 09:43:07 +02:00