xxx
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
121 additions
and
0 deletions
wp-config.php
0 → 100644
| 1 | <?php | ||
| 2 | define('WP_CACHE', true); // Added by Speed Booster Pack | ||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | /** | ||
| 7 | * The base configuration for WordPress | ||
| 8 | * | ||
| 9 | * The wp-config.php creation script uses this file during the | ||
| 10 | * installation. You don't have to use the web site, you can | ||
| 11 | * copy this file to "wp-config.php" and fill in the values. | ||
| 12 | * | ||
| 13 | * This file contains the following configurations: | ||
| 14 | * | ||
| 15 | * * MySQL settings | ||
| 16 | * * Secret keys | ||
| 17 | * * Database table prefix | ||
| 18 | * * ABSPATH | ||
| 19 | * | ||
| 20 | * @link https://codex.wordpress.org/Editing_wp-config.php | ||
| 21 | * | ||
| 22 | * @package WordPress | ||
| 23 | */ | ||
| 24 | |||
| 25 | require_once __DIR__ . '/vendor/autoload.php'; | ||
| 26 | |||
| 27 | Dotenv::load(__DIR__); | ||
| 28 | Dotenv::required(['DB_HOST', 'DB_NAME', 'DB_USER', 'DB_PASS']); | ||
| 29 | |||
| 30 | // ** MySQL settings - You can get this info from your web host ** // | ||
| 31 | /** The name of the database for WordPress */ | ||
| 32 | define('DB_NAME', $_ENV['DB_NAME']); | ||
| 33 | |||
| 34 | /** MySQL database username */ | ||
| 35 | define('DB_USER', $_ENV['DB_USER']); | ||
| 36 | |||
| 37 | /** MySQL database password */ | ||
| 38 | define('DB_PASSWORD', $_ENV['DB_PASS']); | ||
| 39 | |||
| 40 | /** MySQL hostname */ | ||
| 41 | define('DB_HOST', $_ENV['DB_HOST']); | ||
| 42 | |||
| 43 | /** Database Charset to use in creating database tables. */ | ||
| 44 | define('DB_CHARSET', 'utf8mb4'); | ||
| 45 | |||
| 46 | /** The Database Collate type. Don't change this if in doubt. */ | ||
| 47 | define('DB_COLLATE', ''); | ||
| 48 | |||
| 49 | define('WP_MEMORY_LIMIT', '512M'); | ||
| 50 | |||
| 51 | define('ALTERNATE_WP_CRON',$_ENV['ALTERNATE_WP_CRON']); | ||
| 52 | |||
| 53 | define('DISABLE_WP_CRON', 'true'); | ||
| 54 | |||
| 55 | define('WP_CACHE', true); | ||
| 56 | define( 'WPCACHEHOME', __DIR__.'/wp-content/plugins/wp-super-cache/' ); | ||
| 57 | |||
| 58 | define('ALLOW_UNFILTERED_UPLOADS', true); | ||
| 59 | |||
| 60 | @ini_set( 'memory_limit', '1000M' ); | ||
| 61 | @ini_set( 'upload_max_size' , '1000M' ); | ||
| 62 | @ini_set( 'post_max_size', '1000M'); | ||
| 63 | @ini_set( 'max_execution_time', '300' ); | ||
| 64 | define('WP_MAX_MEMORY_LIMIT', '1000M'); | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | /**#@+ | ||
| 69 | * Authentication Unique Keys and Salts. | ||
| 70 | * | ||
| 71 | * Change these to different unique phrases! | ||
| 72 | * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} | ||
| 73 | * 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. | ||
| 74 | * | ||
| 75 | * @since 2.6.0 | ||
| 76 | */ | ||
| 77 | define('AUTH_KEY', 'put your unique phrase here'); | ||
| 78 | define('SECURE_AUTH_KEY', 'put your unique phrase here'); | ||
| 79 | define('LOGGED_IN_KEY', 'put your unique phrase here'); | ||
| 80 | define('NONCE_KEY', 'put your unique phrase here'); | ||
| 81 | define('AUTH_SALT', 'put your unique phrase here'); | ||
| 82 | define('SECURE_AUTH_SALT', 'put your unique phrase here'); | ||
| 83 | define('LOGGED_IN_SALT', 'put your unique phrase here'); | ||
| 84 | define('NONCE_SALT', 'put your unique phrase here'); | ||
| 85 | |||
| 86 | /**#@-*/ | ||
| 87 | |||
| 88 | /** | ||
| 89 | * WordPress Database Table prefix. | ||
| 90 | * | ||
| 91 | * You can have multiple installations in one database if you give each | ||
| 92 | * a unique prefix. Only numbers, letters, and underscores please! | ||
| 93 | */ | ||
| 94 | $table_prefix = 'wp_'; | ||
| 95 | |||
| 96 | /** | ||
| 97 | * For developers: WordPress debugging mode. | ||
| 98 | * | ||
| 99 | * Change this to true to enable the display of notices during development. | ||
| 100 | * It is strongly recommended that plugin and theme developers use WP_DEBUG | ||
| 101 | * in their development environments. | ||
| 102 | * | ||
| 103 | * For information on other constants that can be used for debugging, | ||
| 104 | * visit the Codex. | ||
| 105 | * | ||
| 106 | * @link https://codex.wordpress.org/Debugging_in_WordPress | ||
| 107 | */ | ||
| 108 | define('WP_DEBUG', false); | ||
| 109 | |||
| 110 | define('WFWAF_LOG_FILE_MODE', 0777); | ||
| 111 | |||
| 112 | |||
| 113 | /* That's all, stop editing! Happy blogging. */ | ||
| 114 | |||
| 115 | /** Absolute path to the WordPress directory. */ | ||
| 116 | if (!defined('ABSPATH')) { | ||
| 117 | define('ABSPATH', dirname(__FILE__) . '/'); | ||
| 118 | } | ||
| 119 | |||
| 120 | /** Sets up WordPress vars and included files. */ | ||
| 121 | require_once ABSPATH . 'wp-settings.php'; |
-
Please register or sign in to post a comment