Skip to content

Instantly share code, notes, and snippets.

@juniovitorino
Created March 3, 2015 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juniovitorino/75d45df5f0ae54d2e7b1 to your computer and use it in GitHub Desktop.
Save juniovitorino/75d45df5f0ae54d2e7b1 to your computer and use it in GitHub Desktop.
<?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