From 363dffa10df6c4ca419d3b1ec56c9299fc232b4e Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 27 Oct 2020 14:30:17 +0100 Subject: [PATCH] Update Redis-cache plugin configuration --- wo/cli/plugins/site_functions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index f4a5e93..516c9ed 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -380,14 +380,15 @@ def setupwordpress(self, data, vhostonly=False): # set all wp-config.php variables wp_conf_variables = [ - ['WP_CACHE_KEY_SALT', '{0}:'.format(wo_domain_name)], + ['WP_REDIS_PREFIX', '{0}:'.format(wo_domain_name)], ['WP_MEMORY_LIMIT', '128M'], ['WP_MAX_MEMORY_LIMIT', '256M'], ['CONCATENATE_SCRIPTS', 'false'], ['WP_POST_REVISIONS', '10'], ['MEDIA_TRASH', 'true'], ['EMPTY_TRASH_DAYS', '15'], - ['WP_AUTO_UPDATE_CORE', 'minor']] + ['WP_AUTO_UPDATE_CORE', 'minor'], + ['WP_REDIS_DISABLE_BANNERS', 'true']] Log.wait(self, "Configuring WordPress") for wp_conf in wp_conf_variables: wp_var = wp_conf[0]