Merge pull request #139

This commit is contained in:
symfony-flex-server[bot]
2017-11-24 15:19:09 +00:00
committed by GitHub
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,9 @@
knp_snappy:
pdf:
enabled: true
binary: '%env(WKHTMLTOPDF_PATH)%'
options: []
image:
enabled: true
binary: '%env(WKHTMLTOIMAGE_PATH)%'
options: []
@@ -0,0 +1,12 @@
{
"bundles": {
"Knp\\Bundle\\SnappyBundle\\KnpSnappyBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"WKHTMLTOPDF_PATH": "/usr/local/bin/wkhtmltopdf",
"WKHTMLTOIMAGE_PATH": "/usr/local/bin/wkhtmltoimage"
}
}