From: Steve Sutton Date: Thu, 8 Mar 2018 19:01:17 +0000 (-0500) Subject: Merge tag 'v1.1.1' into develop X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdevelop;p=WP-Plugins%2Fglm-member-db-social.git Merge tag 'v1.1.1' into develop Version 1.1.1 --- b762355a981c864021d00231871dd2c436e5d7bc diff --cc index.php index 6636456,968abfa..0deec1c --- a/index.php +++ b/index.php @@@ -19,15 -35,9 +19,15 @@@ * @package glmMembersDatabaseSocialAddOn * @author Gaslight Media * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.1.0 + * @version 1.1.1 */ +// 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 *