|
<?php |
|
|
|
//Getting variables from Apache for DB connection information |
|
$db_host = getenv('DB_HOST'); |
|
$db_name = getenv('DB_NAME'); |
|
$db_user = getenv('DB_USER'); |
|
$db_password = getenv('DB_PASSWORD'); |
|
|
|
// Database Connections |
|
define('DB_NAME', $db_name); |
|
define('DB_USER', $db_user); |
|
define('DB_PASSWORD',$db_password); |
|
define('DB_HOST', $db_host); |
|
define( 'DB_CHARSET', 'utf8' ); |
|
define( 'DB_COLLATE', '' ); |
|
|
|
// You can the keys from here https://api.wordpress.org/secret-key/1.1/salt/ |
|
define( 'AUTH_KEY', 'put your unique phrase here' ); |
|
define( 'SECURE_AUTH_KEY', 'put your unique phrase here' ); |
|
define( 'LOGGED_IN_KEY', 'put your unique phrase here' ); |
|
define( 'NONCE_KEY', 'put your unique phrase here' ); |
|
define( 'AUTH_SALT', 'put your unique phrase here' ); |
|
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' ); |
|
define( 'LOGGED_IN_SALT', 'put your unique phrase here' ); |
|
define( 'NONCE_SALT', 'put your unique phrase here' ); |
|
|
|
// Please change this prefix. |
|
$table_prefix = 'wp_'; |
|
|
|
define( 'WP_DEBUG', false ); |
|
|
|
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') |
|
$_SERVER['HTTPS'] = 'on'; |
|
|
|
define('WP_HOME', 'http://'. $_SERVER['HTTP_HOST']); |
|
define('WP_SITEURL', 'http://'. $_SERVER['HTTP_HOST']); |
|
define('WP_CONTENT_URL', '/wp-content'); |
|
define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']); |
|
|
|
// Define any items above this comment not below |
|
if ( ! defined( 'ABSPATH' ) ) { |
|
define( 'ABSPATH', dirname( __FILE__ ) . '/' ); |
|
} |
|
|
|
/** Sets up WordPress vars and included files. */ |
|
require_once(ABSPATH . 'wp-settings.php'); |