Merge pull request #360

This commit is contained in:
symfony-flex-server[bot]
2018-05-22 23:58:17 +00:00
committed by GitHub
2 changed files with 25 additions and 0 deletions
@@ -0,0 +1,13 @@
phpfastcache:
twig_driver: "filecache" # This option must be a valid declared driver, in our example: "filecache"
twig_block_debug: false # This option will wrap CACHE/ENDCACHE blocks with block debug as HTML comment
drivers:
filecache:
type: Files
parameters:
path: "%env(PHPFASTCACHE_FILECACHE_PATH)%"
# Define your drivers here. The example below connects to database 0 of the default Redis server.
#
# See https://github.com/PHPSocialNetwork/phpfastcache-bundle/wiki for instructions on
# how to configure the bundle.
@@ -0,0 +1,12 @@
{
"bundles": {
"Phpfastcache\\Bundle\\PhpfastcacheBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Avoid special chars in the file cache path such as: @, %, :, +, ~, etc.",
"PHPFASTCACHE_FILECACHE_PATH": "%kernel.cache_dir%/phpfastcache/"
}
}