We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
WP_HOME
wpstarter/templates/wp-config.php
Lines 219 to 230 in ad004f7
This file: https://github.com/ddev/ddev/blob/master/pkg/ddevapp/wordpress/wp-config-ddev.php
is being included in the ENV_VARIABLES section as so:
ENV_VARIABLES
// Include for ddev-managed settings in wp-config-ddev.php. $ddev_settings = dirname( __FILE__ ) . '/wp-config-ddev.php'; if ( is_readable( $ddev_settings ) && ! defined( 'DB_USER' ) ) { require_once $ddev_settings; }
The text was updated successfully, but these errors were encountered:
@timnolte first basic question, have you verified that getenv('IS_DDEV_PROJECT') returns "true" when the faile is loaded?
getenv('IS_DDEV_PROJECT')
"true"
Sorry, something went wrong.
@gmazzap well, so here's the thing, if we manually setup on line 225:
$home .= $_SERVER['SERVER_NAME'] ?? '<PROJECT_ID>.ddev.site';
The site loads properly along with all of the database settings. It would seem to me then that URL_CONSTANTS is being loaded before ENV_VARIABLES.
URL_CONSTANTS
No branches or pull requests
wpstarter/templates/wp-config.php
Lines 219 to 230 in ad004f7
This file: https://github.com/ddev/ddev/blob/master/pkg/ddevapp/wordpress/wp-config-ddev.php
is being included in the
ENV_VARIABLES
section as so:The text was updated successfully, but these errors were encountered: