From 25c7f92b304c1b767aef5063c92a42b65682e3f3 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 8 Jun 2020 18:00:34 +0200 Subject: [PATCH 1/3] Add secret env to framework configuration --- symfony/framework-bundle/5.1/config/packages/framework.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/symfony/framework-bundle/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml index f0db032d..6089f4bd 100644 --- a/symfony/framework-bundle/5.1/config/packages/framework.yaml +++ b/symfony/framework-bundle/5.1/config/packages/framework.yaml @@ -1,4 +1,5 @@ framework: + secret: '%env(APP_SECRET)%' #csrf_protection: true #http_method_override: true From 289eeeac8f5ce5a2634281e089cc29d87cef1ece Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 8 Jun 2020 18:13:05 +0200 Subject: [PATCH 2/3] Use symlink to 4.2 --- .../5.1/config/packages/framework.yaml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) mode change 100644 => 120000 symfony/framework-bundle/5.1/config/packages/framework.yaml diff --git a/symfony/framework-bundle/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml deleted file mode 100644 index 6089f4bd..00000000 --- a/symfony/framework-bundle/5.1/config/packages/framework.yaml +++ /dev/null @@ -1,16 +0,0 @@ -framework: - secret: '%env(APP_SECRET)%' - #csrf_protection: true - #http_method_override: true - - # Enables session support. Note that the session will ONLY be started if you read or write from it. - # Remove or comment this section to explicitly disable session support. - session: - handler_id: null - cookie_secure: auto - cookie_samesite: lax - - #esi: true - #fragments: true - php_errors: - log: true diff --git a/symfony/framework-bundle/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml new file mode 120000 index 00000000..13c44e2a --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages/framework.yaml @@ -0,0 +1 @@ +../../../4.2/config/packages/framework.yaml \ No newline at end of file From f847805a99fc43dbde5a0b2436635c15b649db03 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 8 Jun 2020 18:19:58 +0200 Subject: [PATCH 3/3] Symlink whole packages folder --- symfony/framework-bundle/5.1/config/packages | 1 + symfony/framework-bundle/5.1/config/packages/cache.yaml | 1 - symfony/framework-bundle/5.1/config/packages/framework.yaml | 1 - symfony/framework-bundle/5.1/config/packages/test | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) create mode 120000 symfony/framework-bundle/5.1/config/packages delete mode 120000 symfony/framework-bundle/5.1/config/packages/cache.yaml delete mode 120000 symfony/framework-bundle/5.1/config/packages/framework.yaml delete mode 120000 symfony/framework-bundle/5.1/config/packages/test diff --git a/symfony/framework-bundle/5.1/config/packages b/symfony/framework-bundle/5.1/config/packages new file mode 120000 index 00000000..ab9ed62e --- /dev/null +++ b/symfony/framework-bundle/5.1/config/packages @@ -0,0 +1 @@ +../../4.2/config/packages \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/packages/cache.yaml b/symfony/framework-bundle/5.1/config/packages/cache.yaml deleted file mode 120000 index a8816e95..00000000 --- a/symfony/framework-bundle/5.1/config/packages/cache.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../3.3/config/packages/cache.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/packages/framework.yaml b/symfony/framework-bundle/5.1/config/packages/framework.yaml deleted file mode 120000 index 13c44e2a..00000000 --- a/symfony/framework-bundle/5.1/config/packages/framework.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../4.2/config/packages/framework.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/5.1/config/packages/test b/symfony/framework-bundle/5.1/config/packages/test deleted file mode 120000 index 6e472748..00000000 --- a/symfony/framework-bundle/5.1/config/packages/test +++ /dev/null @@ -1 +0,0 @@ -../../../4.2/config/packages/test/ \ No newline at end of file