|
| 1 | +<?php |
| 2 | +/** Enable W3 Total Cache */ |
| 3 | +define('WP_CACHE', 'cache_here'); // Added by W3 Total Cache |
| 4 | + |
| 5 | +if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { |
| 6 | + $ip = explode(",", $_SERVER['HTTP_X_FORWARDED_FOR']); |
| 7 | + $_SERVER['REMOTE_ADDR'] = $ip[0]; |
| 8 | +} |
| 9 | +/** |
| 10 | + * The base configuration for WordPress |
| 11 | + * |
| 12 | + * The wp-config.php creation script uses this file during the installation. |
| 13 | + * You don't have to use the web site, you can copy this file to "wp-config.php" |
| 14 | + * and fill in the values. |
| 15 | + * |
| 16 | + * This file contains the following configurations: |
| 17 | + * |
| 18 | + * * Database settings |
| 19 | + * * Secret keys |
| 20 | + * * Database table prefix |
| 21 | + * * ABSPATH |
| 22 | + * |
| 23 | + * @link https://wordpress.org/support/article/editing-wp-config-php/ |
| 24 | + * |
| 25 | + * @package WordPress |
| 26 | + */ |
| 27 | + |
| 28 | +// ** Database settings - You can get this info from your web host ** // |
| 29 | +/** The name of the database for WordPress */ |
| 30 | +define( 'DB_NAME', 'database_name_here' ); |
| 31 | + |
| 32 | +/** Database username */ |
| 33 | +define( 'DB_USER', 'username_here' ); |
| 34 | + |
| 35 | +/** Database password */ |
| 36 | +define( 'DB_PASSWORD', 'password_here' ); |
| 37 | + |
| 38 | +/** Database hostname */ |
| 39 | +define( 'DB_HOST', 'localhost' ); |
| 40 | + |
| 41 | +/** Database charset to use in creating database tables. */ |
| 42 | +define( 'DB_CHARSET', 'utf8' ); |
| 43 | + |
| 44 | +/** The database collate type. Don't change this if in doubt. */ |
| 45 | +define( 'DB_COLLATE', '' ); |
| 46 | + |
| 47 | +/**#@+ |
| 48 | + * Authentication unique keys and salts. |
| 49 | + * |
| 50 | + * Change these to different unique phrases! You can generate these using |
| 51 | + * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}. |
| 52 | + * |
| 53 | + * You can change these at any point in time to invalidate all existing cookies. |
| 54 | + * This will force all users to have to log in again. |
| 55 | + * |
| 56 | + * @since 2.6.0 |
| 57 | + */ |
| 58 | +define( 'AUTH_KEY', 'put your unique phrase here' ); |
| 59 | +define( 'SECURE_AUTH_KEY', 'put your unique phrase here' ); |
| 60 | +define( 'LOGGED_IN_KEY', 'put your unique phrase here' ); |
| 61 | +define( 'NONCE_KEY', 'put your unique phrase here' ); |
| 62 | +define( 'AUTH_SALT', 'put your unique phrase here' ); |
| 63 | +define( 'SECURE_AUTH_SALT', 'put your unique phrase here' ); |
| 64 | +define( 'LOGGED_IN_SALT', 'put your unique phrase here' ); |
| 65 | +define( 'NONCE_SALT', 'put your unique phrase here' ); |
| 66 | + |
| 67 | +/**#@-*/ |
| 68 | + |
| 69 | +/** |
| 70 | + * WordPress database table prefix. |
| 71 | + * |
| 72 | + * You can have multiple installations in one database if you give each |
| 73 | + * a unique prefix. Only numbers, letters, and underscores please! |
| 74 | + */ |
| 75 | +$table_prefix = 'wp_'; |
| 76 | + |
| 77 | +/** |
| 78 | + * For developers: WordPress debugging mode. |
| 79 | + * |
| 80 | + * Change this to true to enable the display of notices during development. |
| 81 | + * It is strongly recommended that plugin and theme developers use WP_DEBUG |
| 82 | + * in their development environments. |
| 83 | + * |
| 84 | + * For information on other constants that can be used for debugging, |
| 85 | + * visit the documentation. |
| 86 | + * |
| 87 | + * @link https://wordpress.org/support/article/debugging-in-wordpress/ |
| 88 | + */ |
| 89 | +define( 'WP_DEBUG', 'debug_here' ); |
| 90 | + |
| 91 | +/* Add any custom values between this line and the "stop editing" line. */ |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | +/* That's all, stop editing! Happy publishing. */ |
| 96 | + |
| 97 | +/** Absolute path to the WordPress directory. */ |
| 98 | +if ( ! defined( 'ABSPATH' ) ) { |
| 99 | + define( 'ABSPATH', __DIR__ . '/' ); |
| 100 | +} |
| 101 | + |
| 102 | +/** Sets up WordPress vars and included files. */ |
| 103 | +require_once ABSPATH . 'wp-settings.php'; |
0 commit comments