aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-13 19:29:54 -0700
committerfriendica <info@friendica.com>2013-10-13 19:29:54 -0700
commit0e0e0d018b5cd14ed8d1578c15b3fc57ba4bfa12 (patch)
tree25a802b9e649ebde7b1c0b6d81c183d1c43319ce /include
parentad29d0f9a1eb0be9024f1a296460221107654ff9 (diff)
downloadvolse-hubzilla-0e0e0d018b5cd14ed8d1578c15b3fc57ba4bfa12.tar.gz
volse-hubzilla-0e0e0d018b5cd14ed8d1578c15b3fc57ba4bfa12.tar.bz2
volse-hubzilla-0e0e0d018b5cd14ed8d1578c15b3fc57ba4bfa12.zip
provide config for preferred directory server
Diffstat (limited to 'include')
-rw-r--r--include/dir_fns.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 585121434..5521f2738 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -3,6 +3,9 @@
require_once('include/permissions.php');
function find_upstream_directory($dirmode) {
+ $preferred = get_config('system','directory_server');
+ if($preferred)
+ return array('url' => $preferred);
return '';
}