<?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 */

define( 'DB_NAME', "documgch_dbtdc2" );


/** MySQL database username */

define( 'DB_USER', "documgch_usrtdc" );


/** MySQL database password */

define( 'DB_PASSWORD', "hm3ksG,zc7W@" );


/** MySQL 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',         '058ba9dcf096e0655976a8b0995452f18c8e6c8288c048e2f22905aaf478a216');

define('SECURE_AUTH_KEY',  '9be625451bc63e648bc957bac413552d67a7992ca3c2a0901715cb1c7b4733a2');

define('LOGGED_IN_KEY',    'c6d1160b5899c11cb9fb04e09eec61772c1c19f2c9b35cdb26af78347968a6b2');

define('NONCE_KEY',        '2143011b5f5a82d5413408b94eafcee06a9c50409e2279056e06731d5144e5f6');

define('AUTH_SALT',        'c3266ef4e02ad2ea50d1b8b3e8ed4f55ccb72fc9afc1126fa01d1489b0abb2d5');

define('SECURE_AUTH_SALT', '8d55a1eb91a037719837994dac44d740a508ca293cdf6022c3b4135cae01bade');

define('LOGGED_IN_SALT',   'a1cc89d3c51ecadc3c3de133819e646578329940d53a94b75ddfe5d51fe6928c');

define('NONCE_SALT',       'a68579e7230e315700a7567672fe34892028a8b6ea042f5ac7046791ea882a09');


/**#@-*/


/**

 * 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 );





define('WP_TEMP_DIR', ABSPATH . 'wp-content/');



/* That's all, stop editing! Happy publishing. */

/**

 * The WP_SITEURL and WP_HOME options are configured to access from any hostname or IP address.

 * If you want to access only from an specific domain, you can modify them. For example:

 *  define('WP_HOME','https://example.com');

 *  define('WP_SITEURL','https://example.com');

 *

*/


if ( defined( 'WP_CLI' ) ) {

    $_SERVER['HTTP_HOST'] = 'localhost';

}


define( 'WP_SITEURL', 'https://www.documentconnexion.co.za' );

define( 'WP_HOME', 'https://www.documentconnexion.co.za' );



/** 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';


define('WP_TEMP_DIR', 'C:/xampp/apps/wordpress/tmp');



//  Disable pingback.ping xmlrpc method to prevent Wordpress from participating in DDoS attacks

//  More info at: https://docs.bitnami.com/general/apps/wordpress/troubleshooting/xmlrpc-and-pingback/


if ( !defined( 'WP_CLI' ) ) {

    // remove x-pingback HTTP header

    add_filter('wp_headers', function($headers) {

        unset($headers['X-Pingback']);

        return $headers;

    });

    // disable pingbacks

    add_filter( 'xmlrpc_methods', function( $methods ) {

            unset( $methods['pingback.ping'] );

            return $methods;

    });

    add_filter( 'auto_update_translation', '__return_false' );

}

