From a34bab40130193cd072a99bd55532569c2e989f7 Mon Sep 17 00:00:00 2001 From: Alex Paliarush Date: Thu, 18 Oct 2018 11:35:29 -0500 Subject: [PATCH] [Upgrade] Redis support for Magento 2.3+ #208 --- scripts/guest/configure_cache_backend | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/guest/configure_cache_backend b/scripts/guest/configure_cache_backend index 5f6459c6bbc..0d93f8e9b36 100755 --- a/scripts/guest/configure_cache_backend +++ b/scripts/guest/configure_cache_backend @@ -39,6 +39,7 @@ incompatible_magento_version_pattern='"version": "2.0.[0-5]' if [[ ${cache_backend} == "redis" ]] && [[ ! ${magento_composer_content} =~ ${incompatible_magento_version_pattern} ]]; then status "Using Redis backend for caching" perl -i -p0e "s/\n*\);/${redis_configuration});/smg" "${MAGENTO_ROOT}/app/etc/env.php" + perl -i -p0e "s/\n*\];/${redis_configuration}];/smg" "${MAGENTO_ROOT}/app/etc/env.php" redis-cli flushall 2> >(logError) > >(log) else status "Using file system backend for caching"