aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-06 17:15:41 -0700
committerfriendica <info@friendica.com>2013-08-06 17:15:41 -0700
commit99bd0712b6170b337de6d1c31db7c66ad8a18767 (patch)
tree88c84722833fa1deeea20efc4e1cac3e2f49a0bc /boot.php
parent687ea0ca249b20f790be2dcedc1ca8d60a76135d (diff)
downloadvolse-hubzilla-99bd0712b6170b337de6d1c31db7c66ad8a18767.tar.gz
volse-hubzilla-99bd0712b6170b337de6d1c31db7c66ad8a18767.tar.bz2
volse-hubzilla-99bd0712b6170b337de6d1c31db7c66ad8a18767.zip
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.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php11
1 files changed, 11 insertions, 0 deletions
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);
/**