This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WordPress Core | |
wp-config.php | |
wp-config-local.php | |
.htaccess | |
web.config | |
license.txt | |
readme.html | |
# Environment Variables | |
.env |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################ | |
# .env.example – WordPress Environment Configuration | |
# | |
# Rename this to `.env` and fill in your values. | |
# NEVER commit your `.env` file to version control. | |
# | |
# Used by wp-config.php to securely inject config data. | |
############################################################ | |
# -------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** ------------------------------------------------------------ | |
* WordPress Configuration File | |
* Secure, flexible, and environment-aware | |
* ------------------------------------------------------------ */ | |
/** MySQL Settings */ | |
define( 'DB_NAME', getenv('DB_NAME') ?: 'database_name_here' ); | |
define( 'DB_USER', getenv('DB_USER') ?: 'username_here' ); |