Files
tlig-theme/local/wp-config.php
T

48 lines
1.7 KiB
PHP
Raw Normal View History

2026-09-24 18:06:11 +02:00
<?php
/**
* Local config for the clean TLIG rig.
*
* Mounted over /var/www/html/wp-config.php, so site/ stays free of config and
* nothing environment-specific can be committed by accident.
*/
define( 'DB_NAME', 'tlig' );
define( 'DB_USER', 'tlig' );
define( 'DB_PASSWORD', 'tlig' );
define( 'DB_HOST', 'db' );
define( 'DB_CHARSET', 'utf8mb4' );
define( 'DB_COLLATE', '' );
// Local only — these are not secrets and are not used anywhere else.
define( 'AUTH_KEY', 'tlig-local-auth' );
define( 'SECURE_AUTH_KEY', 'tlig-local-secure-auth' );
define( 'LOGGED_IN_KEY', 'tlig-local-logged-in' );
define( 'NONCE_KEY', 'tlig-local-nonce' );
define( 'AUTH_SALT', 'tlig-local-auth-salt' );
define( 'SECURE_AUTH_SALT', 'tlig-local-secure-auth-salt' );
define( 'LOGGED_IN_SALT', 'tlig-local-logged-in-salt' );
define( 'NONCE_SALT', 'tlig-local-nonce-salt' );
$table_prefix = 'wp_';
define( 'WP_HOME', 'http://localhost:8090' );
define( 'WP_SITEURL', 'http://localhost:8090' );
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG', true );
define( 'DISALLOW_FILE_EDIT', true );
// Outbound HTTP is allowed. It was blocked here once, to stop the rig
// reporting itself to WordPress.org on every admin page — but blocking the
// domain also broke Add Plugins, which has to reach the directory to list
// anything. The automatic calls are stopped where they start instead, in
// site/wp-content/mu-plugins/tlig-offline.php; deliberate ones go out.
define( 'AUTOMATIC_UPDATER_DISABLED', true );
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
require_once ABSPATH . 'wp-settings.php';