File: /home/kbdhpghp/leiaradiestesiaterapeutica.com.br/wp-config.php
<?php
// Correções e otimizações aplicadas automaticamente para clientes sob as infra-estruturas x2.network
// Em caso de dúvidas, por favor entre em contato via support@x2.network
// -> Correção SSL para os balanceadores de tráfego X2 Network
$server_opts = array("HTTP_X_X2N_SSL" => "yes", "HTTP_CF_VISITOR"=>"https", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_X_FORWARDED_SSL"=>"on", "HTTP_X_FORWARDED_SSL"=>"1");
foreach( $server_opts as $option => $value ) {
if ((isset($_ENV["HTTPS"]) && ( "on" == $_ENV["HTTPS"] )) || (isset( $_SERVER[ $option ] ) && ( strpos( $_SERVER[ $option ], $value ) !== false )) ) {
$_SERVER[ "HTTPS" ] = "on";
}
}
// -> Correção para funcionamento correto dos balanceadores de tráfego e aceleradores (CDN) x2.network
if (isset($_SERVER["HTTP_X_FORWARDED_FOR"])) {
$forwarded = explode(",", $_SERVER["HTTP_X_FORWARDED_FOR"]);
$_SERVER["REMOTE_ADDR"] = trim($forwarded[0]);
}
// -> Ativa cache do WordPress (essencial pra qualquer sistema de cache tipo W3TC, LiteSpeed Cache, WP Super Cache, etc.)
define("WP_CACHE", true);
// -> Certifique-se de ativar o "Cache" em seu cPanel para ganhos significativos de performance.
// -> Como seu servidor utiliza o web server LiteSpeed, recomendamos o uso do plugin "LiteSpeed Cache".
// -> Além disso, ative o "Cache de Objetos (Redis)" para ganhos adicionais.
// FIM das otimizações X2 Network
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the website, 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
* * ABSPATH
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'kbdhpghp_wp632' );
/** Database username */
define( 'DB_USER', 'kbdhpghp_wp632' );
/** Database password */
define( 'DB_PASSWORD', '.b193lpRS(' );
/** Database hostname */
define( 'DB_HOST', 'mysql-farm.x2.network' );
/** 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', 'x5gb07r1qe3tdclmqnrtbz2e1icwfxluyhmrumo53dgcvudo4anbaa1xotzq58cs' );
define( 'SECURE_AUTH_KEY', 'zkse4akre5nkszji0ydkuadgyg8vqj9pkerxfe2ouqsupdta5ky4oiitdzgio0pj' );
define( 'LOGGED_IN_KEY', 'trszunsxdxj3cx1h4614vcy2v9ks7sin3hkwnjnrbx6v7psvubdroswrnoavd6sb' );
define( 'NONCE_KEY', 'j8lmumnhi2fugh6osqsfkegxwnlwypmcs5c2rjm20rg5nh7vzgmfsjjffcjdkxjx' );
define( 'AUTH_SALT', 'uv38yrl23irpqp74ksborb40jxzdc95ed4gic3uokqkovfyph841mzfzwl8tj3gx' );
define( 'SECURE_AUTH_SALT', 'sp9bk7juqpoa1vezatczma6sqjswhatgjs4sgvc4ibl5zndwoirf3z6byyru0hpz' );
define( 'LOGGED_IN_SALT', 'njkynp0xpe08lkqfaqcbalvt3kaypgjowhsz3uzaqebut6ikmxxfbw9trfucinwn' );
define( 'NONCE_SALT', '9wrvqmbd4eunrzecfuhfutjm9so9kadtkng0qlqsqtv7yzfgs0ndkro4mc7dfamq' );
/**#@-*/
/**
* 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!
*
* At the installation time, database tables are created with the specified prefix.
* Changing this value after WordPress is installed will make your site think
* it has not been installed.
*
* @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#table-prefix
*/
$table_prefix = '4o72ypD_';
/**
* 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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', false );
/* Add any custom values between this line and the "stop editing" line. */
/* 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';