· 7 years ago · Oct 30, 2018, 01:12 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', 'bn_wordpress');
27
28/** MySQL database password */
29define('DB_PASSWORD', '2cd707c1a4');
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/**#@+
41 * Authentication Unique Keys and Salts.
42 *
43 * Change these to different unique phrases!
44 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
45 * 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.
46 *
47 * @since 2.6.0
48 */
49define('AUTH_KEY', 'f48b7215aba7b827dbe108842782ee5c61c459917881af9ac1ab1eb5929e83b8');
50define('SECURE_AUTH_KEY', '3cf21398fd0cd45c3190d52c5222fc5fb24a8145e0dfee96128fcebaf0ee1934');
51define('LOGGED_IN_KEY', '44c82f913f02ef0337729d52aa286edb55d9a887bdf25ebfac70d7a2e0b49a7c');
52define('NONCE_KEY', 'd1321a44b475fcabdb5df5953c26889a7332b5cb14809f3fa536b1694e7000a9');
53define('AUTH_SALT', 'eb1068363a64ca2d29d74e37ea575a3df89ee8d4d550373633c9fa3af1ccff1b');
54define('SECURE_AUTH_SALT', 'ad186d1a2d1fbc8333c811256171732c36a6323f3a485d2c5c730cab26be5085');
55define('LOGGED_IN_SALT', '7a31bc0703b602581427c768a525e0976f9f24e8cde1aaebb6ac3af04bc33335');
56define('NONCE_SALT', 'faddc3cbfbfc792196bbd4457cec66e7179a88c5087f48898166beea09f0fdb3');
57
58/**#@-*/
59
60/**
61 * WordPress Database Table prefix.
62 *
63 * You can have multiple installations in one database if you give each
64 * a unique prefix. Only numbers, letters, and underscores please!
65 */
66$table_prefix = 'wp_';
67
68/**
69 * For developers: WordPress debugging mode.
70 *
71 * Change this to true to enable the display of notices during development.
72 * It is strongly recommended that plugin and theme developers use WP_DEBUG
73 * in their development environments.
74 *
75 * For information on other constants that can be used for debugging,
76 * visit the Codex.
77 *
78 * @link https://codex.wordpress.org/Debugging_in_WordPress
79 */
80define('WP_DEBUG', false);
81
82/* That's all, stop editing! Happy blogging. */
83
84define('FS_METHOD', 'direct');
85
86/**
87 * The WP_SITEURL and WP_HOME options are configured to access from any hostname or IP address.
88 * If you want to access only from an specific domain, you can modify them. For example:
89 * define('WP_HOME','http://example.com');
90 * define('WP_SITEURL','http://example.com');
91 *
92*/
93
94if ( defined( 'WP_CLI' ) ) {
95 $_SERVER['HTTP_HOST'] = 'localhost';
96}
97
98define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress');
99define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/wordpress');
100
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. */
107require_once(ABSPATH . 'wp-settings.php');
108
109define('WP_TEMP_DIR', '/opt/lampp/apps/wordpress/tmp');
110
111
112// Disable pingback.ping xmlrpc method to prevent Wordpress from participating in DDoS attacks
113// More info at: https://docs.bitnami.com/general/apps/wordpress/troubleshooting/xmlrpc-and-pingback/
114
115if ( !defined( 'WP_CLI' ) ) {
116 // remove x-pingback HTTP header
117 add_filter('wp_headers', function($headers) {
118 unset($headers['X-Pingback']);
119 return $headers;
120 });
121 // disable pingbacks
122 add_filter( 'xmlrpc_methods', function( $methods ) {
123 unset( $methods['pingback.ping'] );
124 return $methods;
125 });
126 add_filter( 'auto_update_translation', '__return_false' );
127}