fixing package detail page to check for member id before trying to display the details and packages link
in the detail page
* @package glmMembersDatabasePackagingAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.14
+ * @version 1.2.15
*/
-/*
+// Check that we're being called by WordPress.
+if (!defined('ABSPATH')) {
+ header("Location: http://".$_SERVER['SERVER_NAME']."/error/404.html");
+ die();
+}
+
+ /*
* Plugin and Database Versions
*
* Note that the database version matches the version of the last