File: /home/kbdhpghp/www/corrreioonline/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
// 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
// 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
// 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
// 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
// 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
// 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_wp88' );
/** Database username */
define( 'DB_USER', 'kbdhpghp_wp88' );
/** Database password */
define( 'DB_PASSWORD', '1p.7p!1S7P' );
/** Database hostname */
define( 'DB_HOST', 'mysql-farm.x2.network' );
/** 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', 'uv7vpsiksidjmqumdhykm3ul0mowkyyytmbgiq5lng7b2aphiyy5tdrkn50z571o' );
define( 'SECURE_AUTH_KEY', 'd8gequojzjpgiv326mhpqluqrrfoso8gh5tokvcqbfqcpuu1oqfadbolp5jrrozm' );
define( 'LOGGED_IN_KEY', 'cye09ciamlbzot8skwvh2dphrnzddgrhsqzogzt1snzixufwwajhw8jpa4njn9qv' );
define( 'NONCE_KEY', 'zjul4mmg5h2pv8mvr8rovyjc3nzb8mdp8yq6e8vsvwoimpigxrattrkgpcb3sk8h' );
define( 'AUTH_SALT', 'glq4hdkckrvzs4wm4xwumvysaswiepohiv1zfzckbpv1xpjuf7lsdk1fskw5p3um' );
define( 'SECURE_AUTH_SALT', 'otlppvdnylq0uhyivd5uvx61upfpkyxivb1gav6mqhruqnygylh5zvfpnjqrfxqe' );
define( 'LOGGED_IN_SALT', 'ktswevbnta3dijccmnb9hg9lwnekpcdetesljkdzsc4f2z6kr9owj4vzfp8rx3xh' );
define( 'NONCE_SALT', 'rqara397tmgkh1dk1hx4ccnetufr6yxyzzrqb1pmqhh82c7mukwyl5vzb8s1blan' );
/**#@-*/
/**
* 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 = '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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', false );
define('DISALLOW_FILE_EDIT', true);
/* 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';