From 99bd0712b6170b337de6d1c31db7c66ad8a18767 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 6 Aug 2013 17:15:41 -0700 Subject: Add a site access policy (to determine if this is really a public site or just an open site) and add an orphan flag to xchans in case all their hublocs go away. Get rid of a couple of DO NOT EDIT template messages which were still lurking in the tree. --- boot.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index de1c640a6..4868046c6 100755 --- a/boot.php +++ b/boot.php @@ -140,6 +140,16 @@ define ( 'REGISTER_CLOSED', 0 ); define ( 'REGISTER_APPROVE', 1 ); define ( 'REGISTER_OPEN', 2 ); + +/** + * site access policy + */ + +define ( 'ACCESS_PRIVATE', 0 ); +define ( 'ACCESS_PAID', 1 ); +define ( 'ACCESS_FREE', 2 ); + + /** * relationship types */ @@ -322,6 +332,7 @@ define ( 'HUBLOC_FLAGS_UNVERIFIED', 0x0002); define ( 'XCHAN_FLAGS_HIDDEN', 0x0001); +define ( 'XCHAN_FLAGS_ORPHAN', 0x0002); /** -- cgit v1.2.3