Skip to content

Instantly share code, notes, and snippets.

@digisavvy
Last active June 13, 2020 16:40
Show Gist options
  • Select an option

  • Save digisavvy/d534f63285600ef47dac73c9296074d0 to your computer and use it in GitHub Desktop.

Select an option

Save digisavvy/d534f63285600ef47dac73c9296074d0 to your computer and use it in GitHub Desktop.
update config
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://wordpress.org/support/article/editing-wp-config-php/
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
// Make sure a wp-config-local.php file exists. Ignore in .gitignore.
if ( file_exists( dirname( __FILE__ ) . '/wp-config-local.php' ) ) {
include( dirname( __FILE__ ) . '/wp-config-local.php' );
define( 'WP_LOCAL_DEV', true ); // We'll talk about this later
} else {
// These credentials are what get loaded on the live site
define( 'DB_NAME', 'production_db' );
define( 'DB_USER', 'production_user' );
define( 'DB_PASSWORD', 'production_password' );
define( 'DB_HOST', 'production_db_host' );
}
/** Database Charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );
/** The Database Collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define( 'AUTH_KEY', 'siA1rBBf/M9Wa~% ^h+qcHOqOdl~r/qhz7m`@Y!G%7DM6gYd0;k#Z|x&MX+|L[l8' );
define( 'SECURE_AUTH_KEY', 'og+N=!#Fjq>#yb6~hit}%Rn}>Qp560HNZay{_K)YA2VA4AmkI~ <CGBEY@HRaG}J' );
define( 'LOGGED_IN_KEY', 'yg.|p/`A6<Y684V(@-BTl#6QE)<P.%.F/hRunT?%!=zbxA[K.*/xQ_Y0%3ru@E/.' );
define( 'NONCE_KEY', 'hiixX%h!acaDgDirVxK-RgCm/g6R4H7>4Oik,9v@AW)tRZ!4T-J6o;(#6]c,z5{@' );
define( 'AUTH_SALT', ']A0[^5$?3a.S3?sgKsHO(+#X>y#I#A0sVAu{oShQ+7$V1;Z!h6.[fq>+=OJ~2<Cl' );
define( 'SECURE_AUTH_SALT', '[l{c4:N{2aL*rRY6zu|}83%<N}w$r_hH}/GOA0knARYi{-4;Ku#4KS;*M}GPUNQB' );
define( 'LOGGED_IN_SALT', '9IR*7)ykC}OA{w6S3/kx.KySBXp3^|)@3i/#!oZ~||#(B$`)~VXe;e)mJ/7d<-uu' );
define( 'NONCE_SALT', '+Pqpx>86D+[ijj2UphSiS3[9NvHFhO>XiN&s@Bf--$/F|TeE>j6|a8L(xl2lRkqz' );
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the documentation.
*
* @link https://wordpress.org/support/article/debugging-in-wordpress/
*/
define( 'WP_DEBUG', false );
/* That's all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment