File: /home/di/public_html/mediamind.co.uk/wp-config.php
<?php
define('DISABLE_WP_CRON', true);
/**
* 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:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * Localized language
* * ABSPATH
*
* @link https://wordpress.org/support/article/editing-wp-config-php/
*
* @package WordPress
*/
define('ENV_LOCAL', 'mediamind.lo.uk');
define('ENV_STAGING', 'mediamind.scweb.uk');
define('ENV_PRODUCTION', 'media-mind.co.uk');
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
if($_SERVER['HTTP_HOST'] == ENV_LOCAL) {
define( 'DB_NAME', 'wp_mediamindlouk_db' );
define( 'DB_USER', 'wp_mediamindlouk_user' );
define( 'DB_PASSWORD', 'wp_mediamindlouk_pw' );
define( 'DB_HOST', 'localhost' );
define('SITEENV', 'local');
} elseif($_SERVER['HTTP_HOST'] === ENV_STAGING) {
define( 'DB_NAME', 'mediamind-353031358779' );
define( 'DB_USER', 'mediamind-353031358779' );
define( 'DB_PASSWORD', 'z0sgv6zimd' );
define( 'DB_HOST', 'sdb-57.hosting.stackcp.net' );
define('SITEENV', 'staging');
} else {
define( 'DB_NAME', 'di_mediamind' );
define( 'DB_USER', 'di_mediamind' );
define( 'DB_PASSWORD', 'vBxCr+hmV0QE' );
define( 'DB_HOST', 'localhost' );
define('SITEENV', 'production');
}
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );
/** 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', '2-1#n[Sw-|v18.L$.|/d0xac*9Ux);f%hS_~6]DwGAGY3s& :6dsbj0l,1Ir*][>' );
define( 'SECURE_AUTH_KEY', 'JEi97Jy$E6H%j6@OmbB&;O%gbZeA`xOf_AHfF+9X]/nZT2$wU% YZ_5wIJV|ox2,' );
define( 'LOGGED_IN_KEY', '0):m2EfvAcmdT6a!pV!06x%Y0Wu9t6p)7C1>OBB6x%~<eV+XYR,~.^1gk227c_rW' );
define( 'NONCE_KEY', '|UhvkXBDAAfKm/o]e?^iInKN!z~2:D#H3~?G?5B0zU>KPqK.^x|F66g+|bDek-;B' );
define( 'AUTH_SALT', 'TAmcE7^-,kqg$%[fW SQ5![c65]`7`&f}hGNidHo ]3t{p$MO{P*9)$m^QQiDbnR' );
define( 'SECURE_AUTH_SALT', 'w)4|=xWkN}-,37c^+#`JCVzFfARSyf5e`o6;&aR[gDHGP@:];pPedar-L Iu7;k5' );
define( 'LOGGED_IN_SALT', '?/v_w+gb}7?x}<gJ;$.&q~U:`Jr~CEf}z)WaMfa)|pEw|7csErZ^;))l.u9k*BFM' );
define( 'NONCE_SALT', 'aURN9FkYD-)VA9Czy+g16Cm&zQftkU=Fp/^Z>=$5<D%.iYEdyK^MO RwUoK=mTHH' );
define( 'WP_CACHE_KEY_SALT', '<Dm.Q]!9LJ`>8hA!w+vuGclJtrT!B3Sd6H:kRuTKjxgZ9n7p~M[yT||p]>+Eo*<M' );
/**#@-*/
/**
* 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_';
/* Add any custom values between this line and the "stop editing" line. */
/**
* 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/
*/
if ( ! defined( 'WP_DEBUG' ) ) {
define( 'WP_DEBUG', false );
}
define( 'WP_DEBUG_DISPLAY', 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';