Skip to content
Snippets Groups Projects
Commit 5448d2e3 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#192 Fix the test if Redis is available

parent 072eee11
Branches
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ $config_directories['{{ directory }}'] = 'sites/{{ item.shortname|default("defau
{% endfor %}
// Set redis configuration.
if (extension_loaded('redis')) {
if (file_exists('modules/contrib/redis/redis.info.yml')) {
// Set Redis as the default backend for any cache bin not otherwise specified.
$settings['redis.connection']['interface'] = 'PhpRedis';
$settings['cache']['default'] = 'cache.backend.redis';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment