From 9339e768964504c30e21ca6406bcf3d0263f5175 Mon Sep 17 00:00:00 2001 From: Aaron Holbrook Date: Mon, 15 Mar 2021 14:27:04 -0500 Subject: [PATCH] Add environment var --- src/Constants.php | 1 + src/bootstrap/bootstrap.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Constants.php b/src/Constants.php index 2fdfd94..fc6093d 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -7,6 +7,7 @@ class Constants { private static $env_vars = [ + 'ENVIRONMENT' => 'production', 'ACF_LITE' => true, 'DISABLE_WP_CRON' => false, 'FILE_MOD_ALLOWED' => false, diff --git a/src/bootstrap/bootstrap.php b/src/bootstrap/bootstrap.php index 87eb88f..0c654e5 100644 --- a/src/bootstrap/bootstrap.php +++ b/src/bootstrap/bootstrap.php @@ -15,7 +15,7 @@ function bootstrap( $dir ) { * Add Sentry Error Logging */ // @todo remove old call -// ErrorHandling::init(); + //ErrorHandling::init(); WpSentry::init(); /**