disqus-wordpress
disqus-wordpress copied to clipboard
Environmental variables fix. Addition of WP_CONFIG_PATH env variable.
Some servers don't populate the $_ENV variable so environmental variables that are set cannot be read from PHP CLI. So getenv() was added to fetch those variables.
Also, some WP installs do not have wp-config.php in the same directory as index.php, wp-settings.php, etc. Added ability to set WP_CONFIG_PATH environmental variable for those custom setups.
I really would love to see this merged in as well. @ryanvalentin do you think there is any way to get this in timely as currently we will need to manually update every instance of the plugin. If you have any concerns with this approach, please let us know and we'll adjust this accordingly.