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
@@ -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