aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-11 08:59:16 +0000
committerMario <mario@mariovavti.com>2021-01-11 08:59:16 +0000
commit12ba2c30b907c5350a4a79e04391f5c0e356b547 (patch)
treecf19bf1dbff3d874fd575582dd8d1935f7f51626 /boot.php
parent7c1b41019eaf91ba560efb53c77fde06b5ce1c0b (diff)
downloadvolse-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-xboot.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/boot.php b/boot.php
index 972c844a9..cd2704783 100755
--- a/boot.php
+++ b/boot.php
@@ -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;
+}
/**