· 7 years ago · Jun 16, 2018, 04:28 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// ** MySQL settings - You can get this info from your web host ** //
21/** The name of the database for WordPress */
22define('DB_NAME', 'bitnami_wordpress');
23/** MySQL database username */
24define('DB_USER', 'bn_wordpress');
25/** MySQL database password */
26define('DB_PASSWORD', '19205gb613');
27/** MySQL hostname */
28define('DB_HOST', 'localhost:3306');
29/** Database Charset to use in creating database tables. */
30define('DB_CHARSET', 'utf8');
31/** The Database Collate type. Don't change this if in doubt. */
32define('DB_COLLATE', '');
33/**#@+
34 * Authentication Unique Keys and Salts.
35 *
36 * Change these to different unique phrases!
37 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
38 * 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.
39 *
40 * @since 2.6.0
41 */
42define('AUTH_KEY', 'c8997fc8b525e0d44071006a77ea6c0feb75b9460222726686c169db357fcf54');
43define('SECURE_AUTH_KEY', '6ec580aa5c3194079dc317478d6ce0dd0cc149c37f084eaab8502257ef676ef1');
44define('LOGGED_IN_KEY', '2d80499011e7b409628cc7c3bb75d896a651bd33324dd002d8111f224a6a24dd');
45define('NONCE_KEY', '105281060759c13a495b0318e11cc2e700a2c2e64fc791ed6581b21f97341a8a');
46define('AUTH_SALT', 'e8a6a1e919a5ba2bbb36cb450effc7eb308fc8c1e9bf2dc05911c3f40c164a5d');
47define('SECURE_AUTH_SALT', '8cda7a3a539096f87c9cb232a862941f5af135fa0a4c827228a2153925146880');
48define('LOGGED_IN_SALT', 'c46aba7fcdbee853463629ad90b6318bee5424be7ce66d4e2e8c2e1842de58dc');
49define('NONCE_SALT', '62107bae834956533399dc4df6b8f1b5464f1b9ee7575a241d2037b2aa9a5ccf');
50/**#@-*/
51/**
52 * WordPress Database Table prefix.
53 *
54 * You can have multiple installations in one database if you give each
55 * a unique prefix. Only numbers, letters, and underscores please!
56 */
57$table_prefix = 'wp_';
58/**
59 * For developers: WordPress debugging mode.
60 *
61 * Change this to true to enable the display of notices during development.
62 * It is strongly recommended that plugin and theme developers use WP_DEBUG
63 * in their development environments.
64 *
65 * For information on other constants that can be used for debugging,
66 * visit the Codex.
67 *
68 * @link https://codex.wordpress.org/Debugging_in_WordPress
69 */
70define('WP_DEBUG', false);
71/* That's all, stop editing! Happy blogging. */
72define('FS_METHOD', 'direct');
73/**
74 * The WP_SITEURL and WP_HOME options are configured to access from any hostname or IP address.
75 * If you want to access only from an specific domain, you can modify them. For example:
76 * define('WP_HOME','http://example.com');
77 * define('WP_SITEURL','http://example.com');
78 *
79*/
80/**if ( defined( 'WP_CLI' ) ) {
81 $_SERVER['HTTP_HOST'] = 'localhost';
82}
83define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
84define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/');*/
85/** Absolute path to the WordPress directory. */
86/**if ( !defined('ABSPATH') )
87 define('ABSPATH', dirname(__FILE__) . '/');*/
88/** Sets up WordPress vars and included files. */
89require_once(ABSPATH . 'wp-settings.php');
90define('WP_TEMP_DIR', '/opt/bitnami/apps/wordpress/tmp');
91// Disable pingback.ping xmlrpc method to prevent Wordpress from participating in DDoS attacks
92// More info at: https://docs.bitnami.com/?page=apps&name=wordpress§ion=how-to-re-enable-the-xml-rpc-pingback-feature
93if ( !defined( 'WP_CLI' ) ) {
94 // remove x-pingback HTTP header
95 add_filter('wp_headers', function($headers) {
96 unset($headers['X-Pingback']);
97 return $headers;
98 });
99 // disable pingbacks
100 add_filter( 'xmlrpc_methods', function( $methods ) {
101 unset( $methods['pingback.ping'] );
102 return $methods;
103 });
104 add_filter( 'auto_update_translation', '__return_false' );
105}