<?php
/**
 * WordPress configuration file
 *
 * IMPORTANT
 * - This file MUST NOT output anything.
 * - This file MUST NOT execute anything after wp-settings.php is required.
 */

/** --------------------------------------------------------------------
 * Database settings
 * -------------------------------------------------------------------- */
define('WP_CACHE', false);
if ( ! defined( 'DB_NAME' ) ) {
	define( 'DB_NAME', 'dndmarket_wp' );
}

if ( ! defined( 'DB_USER' ) ) {
	define( 'DB_USER', 'dndmarket_wp' );
}

if ( ! defined( 'DB_PASSWORD' ) ) {
	define( 'DB_PASSWORD', 'nlkgUBIOVOG*#BMNSG@GVBKJHssd' );
}

if ( ! defined( 'DB_HOST' ) ) {
	define( 'DB_HOST', 'localhost' );
}

if ( ! defined( 'DB_CHARSET' ) ) {
	define( 'DB_CHARSET', 'utf8' );
}

if ( ! defined( 'DB_COLLATE' ) ) {
	define( 'DB_COLLATE', '' );
}


/** DnD AI OAuth Shared Secret. */
define('DNDAI_BROKER_SHARED_SECRET', 'JLIafJ{l<`}F,em{Iw;}@sr9oNIO,JKbzMOUTVX$ck7/v@Dj');


/** --------------------------------------------------------------------
 * Outbound HTTP hardening (fixes your Plugins → Add New error)
 *
 * This blocks ALL outbound HTTP requests except the hosts in WP_ACCESSIBLE_HOSTS.
 * Keep WordPress.org endpoints allowlisted so plugin/theme installs and updates work.
 * -------------------------------------------------------------------- */
/** if ( ! defined( 'WP_HTTP_BLOCK_EXTERNAL' ) ) {
	define( 'WP_HTTP_BLOCK_EXTERNAL', true );
}

if ( ! defined( 'WP_ACCESSIBLE_HOSTS' ) ) {
	define(
		'WP_ACCESSIBLE_HOSTS',
		'*.wordpress.org,wordpress.org,*.w.org,api.wordpress.org,downloads.wordpress.org,oauth.dndmarketing.com.au,oauth.dndmarketing.com.au,oauth2.googleapis.com'
	);
} */




/** --------------------------------------------------------------------
 * Authentication Unique Keys and Salts
 * -------------------------------------------------------------------- */
if ( ! defined( 'AUTH_KEY' ) ) {
	define( 'AUTH_KEY', 'uFlt`!ZN*ifl+f!.(o.OaS!EBNhnF4,yMha,pI/F?N@iaNL8v>GmsHEK:EN_M{sv' );
}
if ( ! defined( 'SECURE_AUTH_KEY' ) ) {
	define( 'SECURE_AUTH_KEY', '5HDg<.n9LRAXkxkX{F/f?#LBfCfPDqJ~3{PpE$e?nuVZKHb*AhhGjLqW7@x3-XSc' );
}
if ( ! defined( 'LOGGED_IN_KEY' ) ) {
	define( 'LOGGED_IN_KEY', '@f3_-y)Wbp"kB5QUb6,{_la}W_}(^~ASm;HMs[eKr!|qRtW<wn!W:""c2;`>BGe<' );
}
if ( ! defined( 'NONCE_KEY' ) ) {
	define( 'NONCE_KEY', 'YW.CyPyZQ,LuuF*k!2lKrLnX9iaH5Pvf!TVzZldXqZa|+g"A_~mZwDq]WU>v"Aj3' );
}
if ( ! defined( 'AUTH_SALT' ) ) {
	define( 'AUTH_SALT', 'E":+I-x+nzbp)XNe9!J_Jq|?BVx@^H/aLu?P2*}G{W>7/YiZ84K.3Ir)1Z?tt2ge' );
}
if ( ! defined( 'SECURE_AUTH_SALT' ) ) {
	define( 'SECURE_AUTH_SALT', 'C5bHOXWO!y)&hu8}Rpw8|(Z|:-jFh[&44l`i~At*bS~"}JmEr^5XUu}B$4$mxyE.' );
}
if ( ! defined( 'LOGGED_IN_SALT' ) ) {
	define( 'LOGGED_IN_SALT', 'H;@e&TpvnjJ!&+CHk;3zD:B]WLmD?~d<#pc"m^twvan34!`R%kX+7ILF]&D]pl,j' );
}
if ( ! defined( 'NONCE_SALT' ) ) {
	define( 'NONCE_SALT', 'B7^Sd=/sATlA3++-G#_Y[P+[trk|snSQ(=ogl[60BQD2k<-,qzEXqw;C)>T6Zd?t' );
}

/** --------------------------------------------------------------------
 * Optional: cache key salt (keep if you use object caching)
 * -------------------------------------------------------------------- */
if ( ! defined( 'WP_CACHE_KEY_SALT' ) ) {
	define( 'WP_CACHE_KEY_SALT', '#1t-iMX>5Na]H"G?,k<T$(&-1,a4jM-p:E@*d5O?CJkkvJ:,h&20W/<0D#V;=NSl' );
}

/** --------------------------------------------------------------------
 * Database table prefix
 * -------------------------------------------------------------------- */
$table_prefix = 'wp_';

/** --------------------------------------------------------------------
 * Debugging
 * -------------------------------------------------------------------- */
if ( ! defined( 'WP_DEBUG' ) ) {
	define('WP_DEBUG', false);
}

if ( ! defined( 'WP_DEBUG_LOG' ) ) {
	define('WP_DEBUG_LOG', false);
}

if ( ! defined( 'WP_DEBUG_DISPLAY' ) ) {
	define('WP_DEBUG_DISPLAY', false);
}

@ini_set( 'display_errors', 0 );

// Keep PHP from printing errors to screen (honour WP_DEBUG_DISPLAY=false).
@ini_set( 'display_errors', '0' );
error_reporting( E_ALL );

/**
 * Optional: send PHP-level errors to a dedicated file (separate from WP debug.log).
 * NOTE: this only affects PHP error_log() destination for this process.
 * Ensure the file exists and is writable by the PHP user.
 */
// @ini_set( 'error_log', __DIR__ . '/wp-content/debug-php.log' );

/** --------------------------------------------------------------------
 * Memory limits
 * -------------------------------------------------------------------- */
if ( ! defined( 'WP_MEMORY_LIMIT' ) ) {
	define( 'WP_MEMORY_LIMIT', '256M' );
}

if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) {
	define( 'WP_MAX_MEMORY_LIMIT', '512M' );
}

/** --------------------------------------------------------------------
 * Absolute path to WordPress and bootstrap
 * -------------------------------------------------------------------- */
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', __DIR__ . '/' );
}

define('DISABLE_WP_CRON', true);

define('SCRIPT_DEBUG', false);
@ini_set('display_errors', 0);
require_once ABSPATH . 'wp-settings.php';
