Update reference to main php file to refer to index.php
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 16 May 2016 13:05:45 +0000 (09:05 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 16 May 2016 13:05:45 +0000 (09:05 -0400)
index.php

index 7bb488f..5990586 100644 (file)
--- a/index.php
+++ b/index.php
@@ -124,7 +124,7 @@ $plugin_name = 'glm-member-db/index.php';
 $is_active = is_plugin_active($plugin_name);
 if ($is_active != '1') {
     add_action( 'admin_notices', 'glmMembersSamplePluginRequired' );
-    deactivate_plugins('/'.GLM_MEMBERS_SAMPLE_PLUGIN_SLUG.'/'.GLM_MEMBERS_SAMPLE_PLUGIN_SLUG.'.php');
+    deactivate_plugins('/'.GLM_MEMBERS_SAMPLE_PLUGIN_SLUG.'/index.php');
 }
 
 // Check for Minimum DB version for main Member DB