Skip to content

Commit

Permalink
prevent error on my dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
crstauf committed Oct 3, 2023
1 parent 3f40764 commit 9362c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cssllc-environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function is_production() : bool {
## ## ######## ###### ####### ###### ## ## ## ######## ## ## ## ######
*/

if ( empty( $dev_email_address ) ) {
if ( 'caleb' !== $_SERVER['USER'] && empty( $dev_email_address ) ) {
trigger_error( 'Update <code>$dev_email_address</code> in ' . __FILE__, E_USER_WARNING );
}

Expand Down

0 comments on commit 9362c27

Please sign in to comment.