correction syntaxe
[lhc/ansible.git] / templates / wp-config.php.j2
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 */
20
21 // ** MySQL settings - You can get this info from your web host ** //
22 /** The name of the database for WordPress */
23 define('WP_CACHE', true);
24 define('WPCACHEHOME', '/home/sites/data/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/wp-content/plugins/wp-super-cache/' );
25 define('DB_NAME', 'php_{{ SIGLE }}_{{ SITE }}');
26
27 /** MySQL database username */
28 define('DB_USER', 'php_{{ SIGLE }}_{{ SITE }}');
29
30 /** MySQL database password */
31 define('DB_PASSWORD', '');
32
33 /** MySQL hostname */
34 define('DB_HOST', 'localhost:/run/mysqld/mysqld.sock');
35
36 /** Database Charset to use in creating database tables. */
37 define('DB_CHARSET', 'utf8mb4');
38
39 /** The Database Collate type. Don't change this if in doubt. */
40 define('DB_COLLATE', '');
41
42 /**#@-*/
43
44 /**
45 * WordPress Database Table prefix.
46 *
47 * You can have multiple installations in one database if you give each
48 * a unique prefix. Only numbers, letters, and underscores please!
49 */
50 $table_prefix = 'wp_';
51
52 /**
53 * For developers: WordPress debugging mode.
54 *
55 * Change this to true to enable the display of notices during development.
56 * It is strongly recommended that plugin and theme developers use WP_DEBUG
57 * in their development environments.
58 *
59 * For information on other constants that can be used for debugging,
60 * visit the Codex.
61 *
62 * @link https://codex.wordpress.org/Debugging_in_WordPress
63 */
64 define('WP_DEBUG', false);
65
66 /* That's all, stop editing! Happy blogging. */
67
68 /** Absolute path to the WordPress directory. */
69 if ( !defined('ABSPATH') )
70 define('ABSPATH', dirname(__FILE__) . '/');
71
72 /** Sets up WordPress vars and included files. */
73 require_once(ABSPATH . 'wp-settings.php');
74
75 define('FS_METHOD', 'direct');
76
77 /* Personnalisations hébergement LHC */
78 define( 'WP_AUTO_UPDATE_CORE', true);