diff options
author | Mario <mario@mariovavti.com> | 2021-01-11 19:01:02 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-11 19:01:02 +0000 |
commit | ba164d948822f00a643c4f12ba82f18e7e0f72be (patch) | |
tree | cd160488d8827c27d69794c4067734c018e46428 /boot.php | |
parent | 3fe67eb646befb47b3d421e12e55020f035e26b3 (diff) | |
parent | 12ba2c30b907c5350a4a79e04391f5c0e356b547 (diff) | |
download | volse-hubzilla-ba164d948822f00a643c4f12ba82f18e7e0f72be.tar.gz volse-hubzilla-ba164d948822f00a643c4f12ba82f18e7e0f72be.tar.bz2 volse-hubzilla-ba164d948822f00a643c4f12ba82f18e7e0f72be.zip |
Merge branch 'dev' into 5.2RC
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -82,11 +82,16 @@ define ( 'DIRECTORY_MODE_STANDALONE', 0x0100); // A detached (off the grid) hub define ( 'DIRECTORY_REALM', 'RED_GLOBAL'); define ( 'DIRECTORY_FALLBACK_MASTER', 'https://hub.netzgemeinde.eu'); -$DIRECTORY_FALLBACK_SERVERS = [ - 'https://hub.netzgemeinde.eu', - 'https://zotsite.net', - 'https://hub.libranet.de' -]; + +function get_directory_fallback_servers() { + $ret = [ + 'https://hub.netzgemeinde.eu', + 'https://zotsite.net', + 'https://hub.libranet.de' + ]; + + return $ret; +} /** @@ -355,6 +360,7 @@ define ( 'UPDATE_FLAGS_UPDATED', 0x0001); define ( 'UPDATE_FLAGS_FORCED', 0x0002); define ( 'UPDATE_FLAGS_DELETED', 0x1000); +define ( 'HUBLOC_OFFLINE', 0x0001); define ( 'DROPITEM_NORMAL', 0); define ( 'DROPITEM_PHASE1', 1); |