add env variables

This commit is contained in:
Jacques de Lamballerie
2018-11-14 12:13:30 +01:00
parent 36f43b90e4
commit 1b3f0f99d5
3 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
wandi_mailer:
sender:
name: 'example'
address: 'hello@example.com'
name: '%env(WANDI_MAILER_SENDER_NAME)%'
address: '%env(WANDI_MAILER_SENDER_ADDRESS)%'
+5 -1
View File
@@ -2,7 +2,11 @@
"bundles": {
"Wandi\\MailerBundle\\WandiMailerBundle": ["all"]
},
"copy-from-recipe": {
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"WANDI_MAILER_SENDER_NAME": "Zinédine Zidane",
"WANDI_MAILER_SENDER_ADDRESS": "zinedine.zidane@france.fr"
}
}
+6
View File
@@ -0,0 +1,6 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> WandiMailer, What's next? </>
<bg=blue;fg=white> </>
* The Wandi/MailerBundle needs your default sender configuration.
Modify your WANDI_MAILER_SENDER_NAME and WANDI_MAILER_SENDER_ADDRESS config in <fg=green>.env</>