Closed peterwilsoncc closed 5 years ago
Have you tried adding these in a local-config.php
the the root of this extension: http://docs.chassis.io/en/latest/extend/#wordpress-configuration I can't remember the load order off the top of my head but I think that will get loaded before wp-config.php
and if we need to add in more defined
checks in Chassis core we can do that upstream.
Well this is a terrible idea because my trace of how WP includes the wp-config file was incorrect.
Rather than modifying the chassis config file, I am wondering if we should duplicate it and load it as an extension config instead.
The file would need to reproduce everything in the Chassis wp-config file from and including the
Load Chassis extensions
section.This would including loading the extensions file again (crazy, but it uses
require_once
) to make sure all the other extensions are loaded and finishing with anexit
statement. So something like: