• Resolved DesignyourCode

    (@designyourcode)


    When you activate the litespeed-cache plugin, it writes define('WP_CACHE', true); to the wp-config.php file.

    In our set up we use environment variables where we define cache. We have a Bedrock setup also – is there a way to stop the plugin writing this line into this file?

    If not, then I would recommend adjusting the logic for this so that it checks if that constant is defined already and only if it isn’t should it write the line in.
    That way we can still handle turning the cache on or off via our deployment system.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin activation writes line to wp-config.php’ is closed to new replies.