Merged in bugfix/wpconfigfix (pull request #4)
Fix wp-config * Fix wp-config Approved-by: Rachit Bhargava
This commit is contained in:
committed by
Rachit Bhargava
parent
5564dcad3f
commit
a1278670ad
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,7 +2,8 @@
|
||||
# You should customize this list as applicable to your project.
|
||||
# Learn more about .gitignore:
|
||||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
||||
|
||||
# wp-config local file
|
||||
wp/wp-config-local.php
|
||||
# Node artifact files
|
||||
node_modules/
|
||||
#dist/
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
define( 'DB_NAME', 'medicalalert' );
|
||||
define( 'DB_USER', 'root' );
|
||||
define( 'DB_PASSWORD', 'root' );
|
||||
define( 'DB_HOST', 'localhost:/Applications/MAMP/tmp/mysql/mysql.sock' );
|
||||
define( 'DB_CHARSET', 'utf8' );
|
||||
define( 'DB_COLLATE', '' );
|
||||
|
||||
$table_prefix = 'wp_xygy_';
|
||||
|
||||
@@ -1,11 +1,23 @@
|
||||
<?php
|
||||
define( 'WP_CACHE', true ); // Added by WP Rocket
|
||||
|
||||
if ( file_exists( dirname( __FILE__ ) . '/wp-config-local.php' ) ) {
|
||||
include( dirname( __FILE__ ) . '/wp-config-local.php' );
|
||||
define( 'WP_LOCAL_DEV', true );
|
||||
} else {
|
||||
|
||||
/**
|
||||
* This config file is yours to hack on. It will work out of the box on Pantheon
|
||||
* but you may find there are a lot of neat tricks to be used here.
|
||||
*
|
||||
* See our documentation for more details:
|
||||
*
|
||||
* https://pantheon.io/docs
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* This block will be executed if you are NOT running on Pantheon and have NO
|
||||
* wp-config-local.php. Insert alternate config here if necessary.
|
||||
*
|
||||
* If you are only running on Pantheon, you can ignore this block.
|
||||
*/
|
||||
|
||||
// ------------------------------------
|
||||
define('DB_NAME', $_SERVER["SUBDOMAIN"]);
|
||||
define('DB_USER', $_SERVER["DB_USER"]);
|
||||
@@ -27,8 +39,6 @@ define('SECURE_AUTH_SALT', '03e361ac295e49d27bd47e6229558724bdf16e3ed9705efd2822
|
||||
define('LOGGED_IN_SALT', '90d8f33cc74663986e2bbe86b5d11539180ea434974ea2a1e17eca04f4b54abc');
|
||||
define('NONCE_SALT', '6640b7f1a18031eaf01b6e7dc3f445b6f582ab9922674c286c2b527c9c579dea');
|
||||
$table_prefix = 'wp_xygy_';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* For developers: WordPress debugging mode.
|
||||
|
||||
Reference in New Issue
Block a user