disqus-wordpress icon indicating copy to clipboard operation
disqus-wordpress copied to clipboard

Environmental variables fix. Addition of WP_CONFIG_PATH env variable.

Open allan23 opened this issue 9 years ago • 1 comments

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.

allan23 avatar Apr 29 '16 13:04 allan23

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.

tott avatar May 04 '16 10:05 tott