Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ WP_ENV=development
WP_HOME=http://example.com
WP_SITEURL=${WP_HOME}/cms

MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null

# Generate your keys using composer command wp:salts
AUTH_KEY='generateme'
SECURE_AUTH_KEY='generateme'
Expand Down
8 changes: 8 additions & 0 deletions wp-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
define( 'AUTOMATIC_UPDATER_DISABLED', true );
define( 'DISABLE_WP_CRON', env( 'DISABLE_WP_CRON', false ) );

/**
* Mail Settings
*/
define( 'JC_MAIL_HOST', env( 'MAIL_HOST', 'smtp.mailtrap.io' ) );
define( 'JC_MAIL_PORT', env( 'MAIL_PORT', '2525' ) );
define( 'JC_MAIL_USERNAME', env( 'MAIL_USERNAME' ) );
define( 'JC_MAIL_PASSWORD', env( 'MAIL_PASSWORD' ) );

/**
* Sets up WordPress vars and included files.
*/
Expand Down