From: Anthony Talarico Date: Fri, 17 Nov 2017 19:10:39 +0000 (-0500) Subject: Merge tag 'v1.2.15' into develop X-Git-Tag: v1.2.16^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=60d1aeec081822f6ec756d9ad96b391fa4b683e9;p=WP-Plugins%2Fglm-member-db-packaging.git Merge tag 'v1.2.15' into develop fixing package detail page to check for member id before trying to display the details and packages link in the detail page --- 60d1aeec081822f6ec756d9ad96b391fa4b683e9 diff --cc index.php index 82f3357,146df32..8fb6619 --- a/index.php +++ b/index.php @@@ -19,16 -19,10 +19,16 @@@ * @package glmMembersDatabasePackagingAddOn * @author Chuck Scott * @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