projects
/
WP-Plugins
/
glm-member-db-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
efb2f05
7196e66
)
Merge tag 'v1.1.1' into develop
develop
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 8 Mar 2018 19:01:17 +0000
(14:01 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 8 Mar 2018 19:01:17 +0000
(14:01 -0500)
Version 1.1.1
1
2
index.php
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
index.php
index
6636456
,
968abfa
..
0deec1c
---
1
/
index.php
---
2
/
index.php
+++ b/
index.php
@@@
-19,15
-35,9
+19,15
@@@
* @package glmMembersDatabaseSocialAddOn
* @author Gaslight Media <dev@gaslightmedia.com>
* @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
*