-
-
Save LockeAG/e6b6e6fe2f7ee896cdbb18cc29e9cdf5 to your computer and use it in GitHub Desktop.
crateful.la wp-config docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The base configuration for WordPress | |
* | |
* The wp-config.php creation script uses this file during the | |
* installation. You don't have to use the web site, you can | |
* copy this file to "wp-config.php" and fill in the values. | |
* | |
* This file contains the following configurations: | |
* | |
* * MySQL settings | |
* * Secret keys | |
* * Database table prefix | |
* * ABSPATH | |
* | |
* @link https://codex.wordpress.org/Editing_wp-config.php | |
* | |
* @package WordPress | |
*/ | |
// ** MySQL settings - You can get this info from your web host ** // | |
/** The name of the database for WordPress */ | |
define('DB_NAME', 'crateful-la-wp-db'); | |
/** MySQL database username */ | |
define('DB_USER', 'root'); | |
/** MySQL database password */ | |
define('DB_PASSWORD', 'saw3jIct1yoK2'); | |
/** MySQL hostname */ | |
define('DB_HOST', 'mysql'); | |
/** Database Charset to use in creating database tables. */ | |
define('DB_CHARSET', 'utf8'); | |
/** The Database Collate type. Don't change this if in doubt. */ | |
define('DB_COLLATE', ''); | |
/**#@+ | |
* Authentication Unique Keys and Salts. | |
* | |
* Change these to different unique phrases! | |
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} | |
* 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. | |
* | |
* @since 2.6.0 | |
*/ | |
define('AUTH_KEY', '7e71374063e87bb919c5ad02813b531379eb0c75'); | |
define('SECURE_AUTH_KEY', '16bb9e12b90439dd11226cc94a7e8271b96be5b2'); | |
define('LOGGED_IN_KEY', 'd531174a8ab05c927b0777af8a9452a83add910c'); | |
define('NONCE_KEY', '2080e6e29731f03b75eb7540e1368d1307f2dfbe'); | |
define('AUTH_SALT', '807b770d4a9569b6f2e4f0fe504c351902b064bb'); | |
define('SECURE_AUTH_SALT', '9d3ad66ad4c87a860d58d1280ed858c7bef16cb9'); | |
define('LOGGED_IN_SALT', 'b747de18eb9605c393661453cd72ce40b85623bf'); | |
define('NONCE_SALT', 'd55d61313fe9e870dfaa2db2a716bdc5229de366'); | |
/**#@-*/ | |
/** | |
* WordPress Database Table prefix. | |
* | |
* You can have multiple installations in one database if you give each | |
* a unique prefix. Only numbers, letters, and underscores please! | |
*/ | |
$table_prefix = 'crateful0909_'; | |
/* WordPress Cache */ | |
define( 'WP_CACHE', false ); | |
/////////////////////////////////////////////////// | |
// DEBUG | |
/** | |
* For developers: WordPress debugging mode. | |
* | |
* Change this to true to enable the display of notices during development. | |
* It is strongly recommended that plugin and theme developers use WP_DEBUG | |
* in their development environments. | |
* | |
* For information on other constants that can be used for debugging, | |
* visit the Codex. | |
* | |
* @link https://codex.wordpress.org/Debugging_in_WordPress | |
*/ | |
// Enable WP_DEBUG mode | |
define('WP_DEBUG', false); | |
/** | |
* Turn on error logging and show errors on-screen if in debugging mode | |
*/ | |
@error_reporting( E_ALL ); | |
/** | |
* Change the path to one on your webserver, the directory does not have to be in the web root | |
* Don't forget to CHMOD this dir+file and add an .htaccess file denying access to all | |
* For an example .htaccess file, see https://gist.github.com/jrfnl/5953256 | |
*/ | |
@ini_set('error_log', '/wp-content/php_error.log'); | |
@ini_set('ERRORLOGFILE', '/wp-content/mu_error.log'); | |
@ini_set('docref_root', 'http://php.net/manual/'); | |
@ini_set('docref_ext', '.php'); | |
@ini_set('error_prepend_string', '<span style="color: #ff0000; background-color: transparent;">'); | |
@ini_set('error_append_string', '</span>'); | |
if ( WP_DEBUG ) { | |
@ini_set('log_errors', true); | |
@ini_set('log_errors_max_len', '0'); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'SAVEQUERIES', true ); | |
define( 'SCRIPT_DEBUG', false ); | |
@ini_set( 'display_errors', false ); | |
@ini_set('html_errors', true); | |
if ( function_exists( 'xdebug_disable' ) ) { | |
xdebug_disable(); | |
} | |
// define( 'JETPACK_CLIENT__HTTPS', 'NEVER' ); // Force Jetpack to not use HTTPS | |
// define('JETPACK_DEV_DEBUG', true); | |
} | |
else | |
{ | |
@ini_set('log_errors', true); | |
@ini_set('log_errors_max_len', '0'); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'SAVEQUERIES', false ); | |
define( 'SCRIPT_DEBUG', false ); | |
@ini_set( 'display_errors', false ); | |
@ini_set('html_errors', false); | |
// define('JETPACK_DEV_DEBUG', false); | |
} | |
// END DEBUG | |
///////////////////////////////////////////////// | |
// If we're behind a proxy server and using HTTPS, we need to alert Wordpress of that fact | |
// see also http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy | |
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') { | |
$_SERVER['HTTPS'] = 'on'; | |
} | |
/* That's all, stop editing! Happy blogging. */ | |
/** Absolute path to the WordPress directory. */ | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
/** Sets up WordPress vars and included files. */ | |
require_once(ABSPATH . 'wp-settings.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment