· 7 years ago · Jul 05, 2018, 10:10 PM
1<?php
2/**
3 * The base configuration for WordPress
4 *
5 * The wp-config.php creation script uses this file during the
6 * installation. You don't have to use the web site, you can
7 * copy this file to "wp-config.php" and fill in the values.
8 *
9 * This file contains the following configurations:
10 *
11 * * MySQL settings
12 * * Secret keys
13 * * Database table prefix
14 * * ABSPATH
15 *
16 * @link https://codex.wordpress.org/Editing_wp-config.php
17 *
18 * @package WordPress
19 */
20
21// ** MySQL settings - You can get this info from your web host ** //
22/** The name of the database for WordPress */
23define('DB_NAME', 'bitnami_wordpress');
24
25/** MySQL database username */
26define('DB_USER', '');
27
28/** MySQL database password */
29define('DB_PASSWORD', '');
30
31/** MySQL hostname */
32define('DB_HOST', 'localhost:3306');
33
34/** Database Charset to use in creating database tables. */
35define('DB_CHARSET', 'utf8');
36
37/** The Database Collate type. Don't change this if in doubt. */
38define('DB_COLLATE', '');
39
40//BridgeDD - DO NOT REMOVE!
41/**#@+
42 * Authentication Unique Keys and Salts.
43 *
44 * Change these to different unique phrases!
45 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
46 * 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.
47 *
48 * @since 2.6.0
49 */
50define('AUTH_KEY', '');
51define('SECURE_AUTH_KEY', '0258ec248eff1706fcdf9e3c4e10ad41d7eb58dcaed7c34ae0d792e969673510');
52define('LOGGED_IN_KEY', 'a6bc204acaa7071419085d9c8c8e055ddb1c93f1e34b3f124a96ac1e92f74751');
53define('NONCE_KEY', '3f56e14fd7f9c5a2087de04f0a20701281c3ec2d0038e6cea7ed919737f6012a');
54define('AUTH_SALT', '1937305ab852378d32b8da1fc5bf611c7156796ada5f617ffa459e30ccd2ba62');
55define('SECURE_AUTH_SALT', 'dd5fffb6bc5ee661b115e0fd03bba7c1879416e87b823473232f95902911891f');
56define('LOGGED_IN_SALT', 'c59168112efb12dd7e30ff988d92458d0ac2b7eeb9161373e56c4adbb77eaa99');
57define('NONCE_SALT', '2dffbfbf9d14d02364c38f7cdaebb726dbd5b04b6e4948d62906feacae3aa670');
58
59/**#@-*/
60
61/**
62 * WordPress Database Table prefix.
63 *
64 * You can have multiple installations in one database if you give each
65 * a unique prefix. Only numbers, letters, and underscores please!
66 */
67$table_prefix = 'wp_';
68
69/**
70 * For developers: WordPress debugging mode.
71 *
72 * Change this to true to enable the display of notices during development.
73 * It is strongly recommended that plugin and theme developers use WP_DEBUG
74 * in their development environments.
75 *
76 * For information on other constants that can be used for debugging,
77 * visit the Codex.
78 *
79 * @link https://codex.wordpress.org/Debugging_in_WordPress
80 */
81define('WP_DEBUG', false);
82
83/* That's all, stop editing! Happy blogging. */
84
85define('FS_METHOD', 'direct');
86
87/**
88 * The WP_SITEURL and WP_HOME options are configured to access from any hostname or IP address.
89 * If you want to access only from an specific domain, you can modify them. For example:
90 * define('WP_HOME','https://example.com');
91 * define('WP_SITEURL','https://example.com');
92 *
93*/
94
95if ( defined( 'WP_CLI' ) ) {
96 $_SERVER['HTTP_HOST'] = 'localhost';
97}
98
99define('WP_HOME','https://www.tempo.in.th');
100define('WP_SITEURL','https://www.tempo.in.th');
101
102/** Absolute path to the WordPress directory. */
103if ( !defined('ABSPATH') )
104 define('ABSPATH', dirname(__FILE__) . '/');
105
106/** Sets up WordPress vars and included files. */
107define('COOKIEPATH', '/'); //BridgeDD
108if (!defined('BRIDGEDD_PHPBB')) {require_once(ABSPATH . 'wp-settings.php');}
109
110define('WP_TEMP_DIR', '/opt/bitnami/apps/wordpress/tmp');
111
112
113// Disable pingback.ping xmlrpc method to prevent Wordpress from participating in DDoS attacks
114// More info at: https://docs.bitnami.com/?page=apps&name=wordpress§ion=how-to-re-enable-the-xml-rpc-pingback-feature
115
116if ( !defined( 'WP_CLI' ) ) {
117 // remove x-pingback HTTP header
118 add_filter('wp_headers', function($headers) {
119 unset($headers['X-Pingback']);
120 return $headers;
121 });
122 // disable pingbacks
123 add_filter( 'xmlrpc_methods', function( $methods ) {
124 unset( $methods['pingback.ping'] );
125 return $methods;
126 });
127 add_filter( 'auto_update_translation', '__return_false' );
128}