From cafea2ed224ae1211cd881eca7983a63bf958baf Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Wed, 27 Nov 2019 17:41:50 +0900 Subject: [PATCH] =?UTF-8?q?ResultCache=20=E3=82=92=20array=20=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Symfony3.4.30 で DoctrineBundle の依存が 1.11 → 1.12 へ変更となり, DoctrineCacheBundle から Symfony/Cache を利用するようになったため, APP_ENV=dev でも ResultCache が有効になっている模様. APP_ENV=dev では不要なので array に変更する --- app/config/eccube/packages/dev/doctrine.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/config/eccube/packages/dev/doctrine.yaml diff --git a/app/config/eccube/packages/dev/doctrine.yaml b/app/config/eccube/packages/dev/doctrine.yaml new file mode 100644 index 00000000000..52f421b4a65 --- /dev/null +++ b/app/config/eccube/packages/dev/doctrine.yaml @@ -0,0 +1,5 @@ +# https://github.com/symfony/demo/blob/master/config/packages/prod/doctrine.yaml +# https://symfony.com/doc/master/bundles/DoctrineBundle/configuration.html +doctrine: + orm: + result_cache_driver: array