20 lines
571 B
Django/Jinja
20 lines
571 B
Django/Jinja
<?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'; |