Skip to content

Commit

Permalink
Make BP_RBE debugging compatible with Commons / Docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mikethicke committed Dec 23, 2024
1 parent ac2af54 commit 17c7194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/bp-reply-by-email/includes/bp-rbe-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function bp_rbe_log( $message ) {
if ( empty( $message ) )
return;

error_log( '[' . gmdate( 'd-M-Y H:i:s' ) . '] ' . $message . "\n", 3, BP_RBE_DEBUG_LOG_PATH );
error_log( '[' . gmdate( 'd-M-Y H:i:s' ) . '] BP RBE: ' . $message );
}

/**
Expand Down
1 change: 1 addition & 0 deletions site/config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ function_exists('wp_is_cli') && wp_is_cli()
* BuddyPress Reply By Email
*/
Config::define( 'BP_RBE_SPARKPOST_WEBHOOK_TOKEN', getenv( 'BP_RBE_SPARKPOST_WEBHOOK_TOKEN' ) );
Config::define( 'BP_RBE_DEBUG', getenv( 'BP_RBE_DEBUG' ) );

/**
* Social Accounts
Expand Down

0 comments on commit 17c7194

Please sign in to comment.