26ea4d5d by Jeff Balicki

config fix

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