Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environmental variables fix. Addition of WP_CONFIG_PATH env variable. #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

allan23
Copy link

@allan23 allan23 commented Apr 29, 2016

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.

@tott
Copy link

tott commented May 4, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants