• My team uses GIT when working with WordPress and currently we run into an issue when pushing the configurations for w3tc. Since version 9.5 “master.php” is now in a json format which doesn’t let my team use php to customize the settings.

    We need the ability to override the config settings.
    Since we need the overrides to work with pagecache we need to be able to do this in wp_config.php.

    I suggest allowing constants to be set in the wp-config.php file.
    Like this:

    
    define('W3TC_CONFIG.pgcache.enabled', '1');
    define('W3TC_CONFIG.pgcache.engine', 'memcached');
    define('W3TC_CONFIG.pgcache.memcached.servers', '["123.123.123.123:11211"]');
    define("W3TC_CONFIG.pgcache.cache.ssl", "1");
    

    Again, I would need these to override any user settings to the client or other users don’t mess up the settings that we configure. I would prefer that anything that is defined in the Settings Page is Grayed out and not able to change. This would be an indicator that the settings are overwritten in the code.

    As you can see the main reason for this is that since we use load balanced hosting our memcacheD server IP changes periodically. We are able to get the IP from ENV Vars with PHP, but don’t know how to set it with the way the plugin currently is.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Need the Ability to override configurations settings’ is closed to new replies.