diff options
author | Mario <mario@mariovavti.com> | 2021-01-11 08:59:16 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-11 08:59:16 +0000 |
commit | 12ba2c30b907c5350a4a79e04391f5c0e356b547 (patch) | |
tree | cf19bf1dbff3d874fd575582dd8d1935f7f51626 /boot.php | |
parent | 7c1b41019eaf91ba560efb53c77fde06b5ce1c0b (diff) | |
download | volse-hubzilla-12ba2c30b907c5350a4a79e04391f5c0e356b547.tar.gz volse-hubzilla-12ba2c30b907c5350a4a79e04391f5c0e356b547.tar.bz2 volse-hubzilla-12ba2c30b907c5350a4a79e04391f5c0e356b547.zip |
can not access global from statc method
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 15 |
1 files changed, 10 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; +} /** |