// Make sure the current user has this capability
if (! current_user_can('activate_plugins')) {
- $this->addNotice("Interesting, you don't have permission to activate plugins.");
die();
}
// Parameters related to the Main GLM Member DB plugin - Depending on what's going on these may already defined by the main plugin
$pluginsPath = str_replace({definedPrefix}_PLUGIN_SLUG, '', {definedPrefix}_PLUGIN_PATH);
define('{definedPrefix}_MAIN_PLUGIN_PATH', $pluginsPath.'/glm-member-db');
-define('{definedPrefix}_PLUGIN_LIB_PATH', {definedPrefix}_MAIN_PLUGIN_PATH.'/lib');
+define('{definedPrefix}_MAIN_PLUGIN_LIB_PATH', {definedPrefix}_MAIN_PLUGIN_PATH.'/lib');
+define('{definedPrefix}_PLUGIN_LIB_PATH', {definedPrefix}_PLUGIN_PATH.'/lib');