Separació Rol Wordpress
This commit is contained in:
20
roles/wordpress/templates/wp-config.php.j2
Normal file
20
roles/wordpress/templates/wp-config.php.j2
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
define( 'DB_NAME', '{{ db_name }}' );
|
||||
define( 'DB_USER', '{{ db_user }}' );
|
||||
define( 'DB_PASSWORD', '{{ db_password }}' );
|
||||
define( 'DB_HOST', '{{ db_host }}' );
|
||||
define( 'DB_CHARSET', 'utf8mb4' );
|
||||
define( 'DB_COLLATE', '' );
|
||||
|
||||
{{ lookup('pipe', 'curl -s https://api.wordpress.org/secret-key/1.1/salt/') }}
|
||||
|
||||
$table_prefix = 'wp_';
|
||||
|
||||
define( 'WP_DEBUG', false );
|
||||
define( 'WP_HOME', '{{ wp_url }}' );
|
||||
define( 'WP_SITEURL', '{{ wp_url }}' );
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
define( 'ABSPATH', __DIR__ . '/' );
|
||||
}
|
||||
require_once ABSPATH . 'wp-settings.php';
|
||||
Reference in New Issue
Block a user