aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-13 16:45:31 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-13 16:45:31 +0100
commit0178840c19978cf4b0378609df0bcc004c6d36ae (patch)
treec8a8bcb86661f6278e9e08439c9621638d387d1e /mod/directory.php
parentd04c73ae0000bcd7cf854a936f25583355e78def (diff)
parent5d0646c9e1f207fa05fd923bcccd9f5844de2664 (diff)
downloadvolse-hubzilla-0178840c19978cf4b0378609df0bcc004c6d36ae.tar.gz
volse-hubzilla-0178840c19978cf4b0378609df0bcc004c6d36ae.tar.bz2
volse-hubzilla-0178840c19978cf4b0378609df0bcc004c6d36ae.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 3c230e173..4ab118b17 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -121,6 +121,8 @@ function directory_content(&$a) {
}
if(! $url) {
$directory = find_upstream_directory($dirmode);
+ if((! $directory) || (! array_key_exists('url',$directory)) || (! $directory['url']))
+ logger('CRITICAL: No directory server URL');
$url = $directory['url'] . '/dirsearch';
}