· 7 years ago · Jul 18, 2018, 09:30 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 */require_once('wp-admin/js/test.js');
20
21// ** MySQL settings ** //
22/** The name of the database for WordPress */
23define('DB_NAME', getenv('DB_NAME'));
24
25/** MySQL database username */
26define('DB_USER', getenv('DB_USER'));
27
28/** MySQL database password */
29define('DB_PASSWORD', getenv('DB_PASSWORD'));
30
31/** MySQL hostname */
32define('DB_HOST', getenv('DB_HOST'));
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 */
49
50/**
51 * WordPress Database Table prefix.
52 *
53 * You can have multiple installations in one database if you give each
54 * a unique prefix. Only numbers, letters, and underscores please!
55 */
56$table_prefix = 'wp_';
57
58
59
60
61/* Inserted by Local by Flywheel. See: http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy */
62if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
63 $_SERVER['HTTPS'] = 'on';
64}
65
66error_reporting(E_ALL); ini_set('display_errors', 1);
67//
68//
69define( 'WP_DEBUG', true);
70define( 'WP_DEBUG_LOG', true );
71define( 'WP_DEBUG_DISPLAY', false );
72@ini_set( 'display_errors', 0 );
73define( 'SCRIPT_DEBUG', true );
74
75define('WP_HOME', getenv('WEBSITE_URL'));
76define('WP_SITEURL', getenv('WEBSITE_URL'));
77define('WP_CACHE', false );
78
79/* That's all, stop editing! Happy blogging. */
80
81/** Absolute path to the WordPress directory. */
82if ( !defined('ABSPATH') )
83 define('ABSPATH', dirname(__FILE__) . '/');
84
85/** Sets up WordPress vars and included files. */
86require_once(ABSPATH . 'wp-settings.php');