diff options
author | friendica <info@friendica.com> | 2013-08-06 17:15:41 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-06 17:15:41 -0700 |
commit | 99bd0712b6170b337de6d1c31db7c66ad8a18767 (patch) | |
tree | 88c84722833fa1deeea20efc4e1cac3e2f49a0bc /boot.php | |
parent | 687ea0ca249b20f790be2dcedc1ca8d60a76135d (diff) | |
download | volse-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-x | boot.php | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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); /** |