· 9 years ago · Feb 03, 2017, 11:00 PM
1<?php
2/**
3* {{ ansible_managed }}
4* The base configurations of the WordPress.
5*
6* This file has the following configurations: MySQL settings, Table Prefix,
7* Secret Keys, WordPress Language, and ABSPATH. You can find more information
8* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
9* wp-config.php} Codex page. You can get the MySQL settings from your web host.
10*
11* This file is used by the wp-config.php creation script during the
12* installation. You don't have to use the web site, you can just copy this file
13* to "wp-config.php" and fill in the values.
14*
15* @package WordPress
16*/
17$root_dir = dirname(__DIR__);
18$webroot_dir = $root_dir . '/htdocs';
19if ( file_exists( dirname( __FILE__ ) . '/local-config.php' ) ) {
20 include( dirname( __FILE__ ) . '/local-config.php' );
21} else {
22 // ** MySQL settings - You can get this info from your web host ** //
23 /** The name of the database for WordPress */
24 define('DB_NAME', 'database_name_here');
25
26 /** MySQL database username */
27 define('DB_USER', 'username_here');
28
29 /** MySQL database password */
30 define('DB_PASSWORD', 'password_here');
31
32 /** MySQL hostname */
33 define('DB_HOST', 'localhost');
34
35 /** Database Charset to use in creating database tables. */
36 define('DB_CHARSET', 'utf8');
37
38 /** The Database Collate type. Don't change this if in doubt. */
39 define('DB_COLLATE', '');
40
41 /**
42 * For developers: WordPress debugging mode.
43 *
44 * Change this to true to enable the display of notices during development.
45 * It is strongly recommended that plugin and theme developers use WP_DEBUG
46 * in their development environments.
47 */
48 define('WP_DEBUG', false);
49}
50/**
51 * Custom Content Directory
52 */
53define('CONTENT_DIR', '/app');
54define('WP_CONTENT_DIR', $webroot_dir . CONTENT_DIR);
55define('WP_CONTENT_URL', WP_HOME . CONTENT_DIR);
56/**#@+
57* Authentication Unique Keys and Salts.
58*
59* Change these to different unique phrases!
60* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
61* 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.
62*
63* @since 2.6.0
64*/
65if ( file_exists( dirname( __FILE__ ) . '/wp-salts.php' ) ) {
66 include( dirname( __FILE__ ) . '/wp-salts.php' );
67}
68
69/**#@-*/
70
71/**
72* WordPress Database Table prefix.
73*
74* You can have multiple installations in one database if you give each a unique
75* prefix. Only numbers, letters, and underscores please!
76*/
77$table_prefix = 'wp_';
78
79/* That's all, stop editing! Happy blogging. */
80
81/** Absolute path to the WordPress directory. */
82if ( !defined('ABSPATH') )
83define('ABSPATH', dirname(__FILE__) . '/');
84
85/** Sets up WordPress vars and included files. */
86require_once(ABSPATH . 'wp-settings.php');