diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-04-29 22:43:49 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-04-29 22:43:49 +0200 |
commit | ca9491d343cd03acfb0bb48017df48ca8ffb761d (patch) | |
tree | d8b1d082a68c12285bafa57c8d9da5a5086a9a31 /Zotlabs/Lib/Libzotdir.php | |
parent | 96ae569eafe8bec574ad3f34a0bd3717ba924d75 (diff) | |
download | volse-hubzilla-ca9491d343cd03acfb0bb48017df48ca8ffb761d.tar.gz volse-hubzilla-ca9491d343cd03acfb0bb48017df48ca8ffb761d.tar.bz2 volse-hubzilla-ca9491d343cd03acfb0bb48017df48ca8ffb761d.zip |
move trusted directory servers to security and implement in backend
Diffstat (limited to 'Zotlabs/Lib/Libzotdir.php')
-rw-r--r-- | Zotlabs/Lib/Libzotdir.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php index 1f3c4d728..6c4c4965e 100644 --- a/Zotlabs/Lib/Libzotdir.php +++ b/Zotlabs/Lib/Libzotdir.php @@ -232,7 +232,7 @@ class Libzotdir { if (! $r) return; - $dir_trusted_hosts = get_directory_fallback_servers(); + $dir_trusted_hosts = array_merge(get_directory_fallback_servers(), get_config('system', 'trusted_directory_servers')); foreach ($r as $rr) { if (! $rr['site_directory']) |