From 9362c27e8cb09aa8d8da65b5b8948d21796c6e8f Mon Sep 17 00:00:00 2001 From: Caleb Stauffer Date: Mon, 2 Oct 2023 21:09:31 -0400 Subject: [PATCH] prevent error on my dev environment --- src/cssllc-environment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cssllc-environment.php b/src/cssllc-environment.php index 0385ac8..ebfb649 100644 --- a/src/cssllc-environment.php +++ b/src/cssllc-environment.php @@ -83,7 +83,7 @@ function is_production() : bool { ## ## ######## ###### ####### ###### ## ## ## ######## ## ## ## ###### */ -if ( empty( $dev_email_address ) ) { +if ( 'caleb' !== $_SERVER['USER'] && empty( $dev_email_address ) ) { trigger_error( 'Update $dev_email_address in ' . __FILE__, E_USER_WARNING ); }