From f19567d4aba06283c99093087a10ba2f5c7369ac Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 17 Jul 2009 01:06:52 +0000 Subject: catch so closed group albums are not available to outsiders --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index b308a026d..17aa70f3b 100644 --- a/index.php +++ b/index.php @@ -7,6 +7,9 @@ include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + // if this page belongs to a closed group, prevent anyone outside group from seeing + if (is_callable('group_gatekeeper')) group_gatekeeper(); + //get the owner of the current page $owner = page_owner_entity(); -- cgit v1.2.3