From: Steve Sutton Date: Thu, 22 Aug 2019 19:09:19 +0000 (-0400) Subject: Update config for defines X-Git-Tag: v2.13.1^2~15 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=dedf9eb9ff26184bc4bab8cafef37e2137688b3c;p=WP-Plugins%2Fglm-member-db.git Update config for defines Define these to false. To help with activation of plugin and php notices or errors. --- diff --git a/config.php b/config.php index 23f4a388..84d2a0c4 100644 --- a/config.php +++ b/config.php @@ -45,6 +45,13 @@ if ($glmMembersDatabaseDbVersion) { define('GLM_MEMBERS_PLUGIN_FRONT_DEBUG_VERBOSE', $settings['front_debug_verbose']); define('GLM_MEMBERS_PLUGIN_DEBUG', $settings['admin_debug'] || $settings['front_debug']); define('GLM_MEMBERS_PLUGIN_DEBUG_VERBOSE', $settings['admin_debug_verbose'] || $settings['front_debug_verbose']); +} else { + define('GLM_MEMBERS_PLUGIN_ADMIN_DEBUG', false); + define('GLM_MEMBERS_PLUGIN_ADMIN_DEBUG_VERBOSE', false); + define('GLM_MEMBERS_PLUGIN_FRONT_DEBUG', false); + define('GLM_MEMBERS_PLUGIN_FRONT_DEBUG_VERBOSE', false); + define('GLM_MEMBERS_PLUGIN_DEBUG', false); + define('GLM_MEMBERS_PLUGIN_DEBUG_VERBOSE', false); } // Check for config value replacements in the current theme