From 15fbe4a669ee5b22dac225247745eea2a4165e0c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 19 Mar 2017 19:26:55 -0700 Subject: [PATCH] added DB_DRIVER as an env var --- recipes/doctrine/doctrine-bundle/etc/packages/doctrine.yaml | 2 +- recipes/doctrine/doctrine-bundle/manifest.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/doctrine/doctrine-bundle/etc/packages/doctrine.yaml b/recipes/doctrine/doctrine-bundle/etc/packages/doctrine.yaml index a60aa588..48d7a57a 100644 --- a/recipes/doctrine/doctrine-bundle/etc/packages/doctrine.yaml +++ b/recipes/doctrine/doctrine-bundle/etc/packages/doctrine.yaml @@ -1,6 +1,6 @@ doctrine: dbal: - driver: pdo_mysql + driver: "%env(DB_DRIVER)%" host: "%env(DB_HOST)%" port: "%env(DB_PORT)%" dbname: "%env(DB_NAME)%" diff --git a/recipes/doctrine/doctrine-bundle/manifest.json b/recipes/doctrine/doctrine-bundle/manifest.json index df13f9b9..f9900e53 100644 --- a/recipes/doctrine/doctrine-bundle/manifest.json +++ b/recipes/doctrine/doctrine-bundle/manifest.json @@ -7,6 +7,7 @@ "src/": "%SRC_DIR%/" }, "env": { + "DB_DRIVER": "pdo_mysql", "DB_HOST": "127.0.0.1", "DB_PORT": "", "DB_NAME": "symfony",