The GLM_MEMBERS_WORDPRESS_PLUGIN_PATH parameter already has a / at the end, but
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 15 Aug 2016 14:46:53 +0000 (10:46 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 15 Aug 2016 14:46:53 +0000 (10:46 -0400)
it was being followed by an added / causing // to occur.

index.php

index 720972e..dc7e79e 100644 (file)
--- a/index.php
+++ b/index.php
@@ -329,7 +329,7 @@ if (glmCheckDatabase('install')) {
             }
 
             // If the add-on has additional config parameters in a plugin.ini file
-            $iniFile = GLM_MEMBERS_WORDPRESS_PLUGIN_PATH.'/'.$a['slug'].'/config/plugin.ini';
+            $iniFile = GLM_MEMBERS_WORDPRESS_PLUGIN_PATH.$a['slug'].'/config/plugin.ini';
             if (isset($iniFile)) {
 
                 // Parse the add-on's configuration file