Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
// DATABASE
define('DB_NAME', getenv('DB_NAME'));
define('DB_USER', getenv('DB_USER'));
define('DB_PASSWORD', getenv('DB_PASS'));
define('DB_HOST', getenv('DB_HOST'));
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', 'utf8_general_ci');
// SPECIFIC ENVIRONMENT CONFIGURATION
define('WP_HOME', 'http://wpbase.dev'); // Add WP_HOME TO AVOID Undefined index: host in wp-includes/pluggable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.